]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Count a lookup into an internal auth zone as a cache miss
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 28 Feb 2018 10:26:03 +0000 (10:26 +0000)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 16 May 2018 12:15:15 +0000 (14:15 +0200)
commit57adf2e1a127bc731d31de0f168c81ae50d6e5ff
treeaa858016a046effbbc2dffc617d16ea6ab91b878
parentc4ef8b79ea8dc334fef1667cef16cbf5508d8d6e
rec: Count a lookup into an internal auth zone as a cache miss

We only considered a query a cache miss if we had to do at least
one outgoing query, but having to look up into one of the internally
hosted zone (auth-zones) should count as a cache miss too.

(cherry picked from commit f7b8cffae1ff94c2e78ac6f3b3ee494735a0c23c)
pdns/pdns_recursor.cc
pdns/syncres.cc
pdns/syncres.hh