]> git.ipfire.org Git - thirdparty/pdns.git/commit
Make the non-resolving cache even less aggressive and add a unit test.
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 8 Mar 2021 08:48:43 +0000 (09:48 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 8 Mar 2021 08:56:57 +0000 (09:56 +0100)
commitb5715cffd756c24eb126f370c96a7b865aab4528
treecbe63b30ea1294f280acb95cf5ba0406c9ec2ae6
parent65d5850d6e26c112d07aaaf082f4c899f8c666ba
Make the non-resolving cache even less aggressive and add a unit test.

In particular, we clear the entry if we see a succeeding resolve.
This means that we only a couple of failing resolves in a row will
cause a ban. Also change to default non-resolving-ns-max-fails from
1 to 5.
pdns/pdns_recursor.cc
pdns/recursordist/docs/settings.rst
pdns/recursordist/test-syncres_cc.cc
pdns/recursordist/test-syncres_cc2.cc
pdns/syncres.cc
pdns/syncres.hh