]> granicus.if.org Git - pdns/commit
aj reported that we increase "dnssec-validations" counter even when running
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 11 Apr 2018 08:15:57 +0000 (10:15 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 16 May 2018 12:15:47 +0000 (14:15 +0200)
commit012e7c95c575953ed0e40726c7976bab4f18a5d8
tree1f9185cfc7c842c78280faf5e8da62d4398aae07
parentc4ef8b79ea8dc334fef1667cef16cbf5508d8d6e
aj reported that we increase "dnssec-validations" counter even when running
with process-no-validate.  This can be caused by us receiving queries for
special names ('localhost', 'version.bind') which we explicitly mark as
Insecure. This led our statistics to conclude a validation attempt had taken place.
This commit puts the update check behind 'shouldValidate()'.

(cherry picked from commit 3b54c577c8ba3a46cc4e9b7bf281b9e6eff7fb44)
pdns/syncres.cc