]> git.ipfire.org Git - thirdparty/pdns.git/commit
Insert hints as non-auth into cache, so info received from the net is
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 17 Mar 2021 09:39:01 +0000 (10:39 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 17 Mar 2021 09:39:01 +0000 (10:39 +0100)
commitfa9fb323b7e4ebde210ff430b36cd190af4e1272
treef5a668c7087bdecbdb39ed2a13987490dfcb5902
parent41e749cffd97280ec81f3024dafa8e28e8ac4bf0
Insert hints as non-auth into cache, so info received from the net is
recorded in the cache.

Also make sure the root NS refresh happens more often if max-cache-ttl is low.
This is needed as the records no longer maintain the 1000 hours TTL.
In the existing setup, a reprime (with potential outdated info) was done at that
point in time since all root-server address records would expire at the same
time.

Lastly, fix a infinite (caught by depth check) recursion in getBestNSFromCache().

Fixes #10177.
pdns/pdns_recursor.cc
pdns/reczones.cc
pdns/syncres.cc