]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Validate entries retrieved from the negcache if needed
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 20 Oct 2017 13:42:07 +0000 (15:42 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 25 Oct 2017 10:01:56 +0000 (12:01 +0200)
commit142ab370d6bc0bea5502bebf4f13a538a715dc68
treedf5c524ccf45e2614ecce9e351fa5164a18c1f7f
parent5597f804d605db3d5fc51c28832fe2fa124eea6b
rec: Validate entries retrieved from the negcache if needed

This happens if validation was not requested during the first query
but is requested when we retrieve a negatively cached entry.
This is useful when running with dnssec=process, and also especially
so now that we don't validate infra queries anymore.
pdns/recursordist/negcache.cc
pdns/recursordist/negcache.hh
pdns/syncres.cc
pdns/syncres.hh