]> granicus.if.org Git - pdns/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, 28 Feb 2018 10:26:03 +0000 (10:26 +0000)
commitf7b8cffae1ff94c2e78ac6f3b3ee494735a0c23c
tree16bd12347a6afe25c0f3763ce278996e06953138
parent32a290946d2ec0f740a437cf58afc8fe1612281c
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.
pdns/pdns_recursor.cc
pdns/syncres.cc
pdns/syncres.hh