]> 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)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 11 Apr 2018 08:15:57 +0000 (10:15 +0200)
commit3b54c577c8ba3a46cc4e9b7bf281b9e6eff7fb44
tree4af5cf4cf66c80cde82b4db77beeb69693ef6537
parent12c3a43e54884eb60377e17b953988e4ff8db5f8
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()'.
pdns/syncres.cc