1. 22 Jan, 2019 18 commits
  2. 21 Jan, 2019 4 commits
  3. 18 Jan, 2019 12 commits
  4. 16 Jan, 2019 6 commits
    • Evan Hunt's avatar
      Merge branch '752-disable-forwarders-when-priming' into 'master' · 4a827494
      Evan Hunt authored
      If possible don't use forwarders when priming the resolver.
      
      Closes #752
      
      See merge request isc-projects/bind9!1296
      4a827494
    • Witold Krecicki's avatar
      If possible don't use forwarders when priming the resolver. · b49310ac
      Witold Krecicki authored
      If we try to fetch a record from cache and need to look into
      hints database we assume that the resolver is not primed and
      start dns_resolver_prime(). Priming query is supposed to return
      NSes for "." in ANSWER section and glue records for them in
      ADDITIONAL section, so that we can fill that info in 'regular'
      cache and not use hints db anymore.
      However, if we're using a forwarder the priming query goes through
      it, and if it's configured to return minimal answers we won't get
      the addresses of root servers in ADDITIONAL section. Since the
      only records for root servers we have are in hints database we'll
      try to prime the resolver with every single query.
      
      This patch adds a DNS_FETCHOPT_NOFORWARD flag which avoids using
      forwarders if possible (that is if we have forward-first policy).
      Using this flag on priming fetch fixes the problem as we get the
      proper glue. With forward-only policy the problem is non-existent,
      as we'll never ask for root server addresses because we'll never
      have a need to query them.
      
      Also added a test to confirm priming queries are not forwarded.
      b49310ac
    • Mark Andrews's avatar
      Merge branch 'pkcs11-pubattr-check' into 'master' · a97a63ad
      Mark Andrews authored
      Make sure null atributes are never used
      
      See merge request isc-projects/bind9!1353
      a97a63ad
    • Petr Menšík's avatar
      Make sure null atributes are never used · fe9ef0d9
      Petr Menšík authored
      Add INSIST to pubattr fetching where null might occur in therory. Make
      sure null is never dereferenced.
      fe9ef0d9
    • Evan Hunt's avatar
      Merge branch '797-handle-timeouts-when-qminimizing' into 'master' · 3d5826b7
      Evan Hunt authored
      Don't retry query on timeout if we're qname minimizing
      
      Closes #797
      
      See merge request isc-projects/bind9!1293
      3d5826b7
    • Witold Krecicki's avatar
      When a forwarder fails and we're not in a forward-only mode we · cfa2804e
      Witold Krecicki authored
      go back to regular resolution. When this happens the fetch timer is
      already running, and we might end up in a situation where we we create
      a fetch for qname-minimized query and after that the timer is triggered
      and the query is retried (fctx_try) - which causes relaunching of
      qname-minimization fetch - and since we already have a qmin fetch
      for this fctx - assertion failure.
      
      This fix stops the timer when doing qname minimization - qmin fetch
      internal timer should take care of all the possible timeouts.
      cfa2804e