From: Remi Gacogne Date: Thu, 5 Oct 2017 10:09:46 +0000 (+0200) Subject: auth: Purge entries from the query cache on an incoming AXFR X-Git-Tag: rec-4.1.0-rc1~7^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38fdb5316d09ba5a810b34d4273078a2b5db76cd;p=thirdparty%2Fpdns.git auth: Purge entries from the query cache on an incoming AXFR Since the QC/PC split up, we only removed entries for the AXFR'd domain from the packet cache, not the query cache. --- diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index 2659b6cba9..016cb04f60 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -22,7 +22,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include "packetcache.hh" + #include "utility.hh" #include "dnssecinfra.hh" #include "dnsseckeeper.hh" @@ -38,7 +38,7 @@ #include "logger.hh" #include "dns.hh" #include "arguments.hh" -#include "packetcache.hh" +#include "auth-caches.hh" #include "base64.hh" #include "inflighter.cc" @@ -581,7 +581,7 @@ void CommunicatorClass::suck(const DNSName &domain, const string &remote) di.backend->commitTransaction(); transaction = false; di.backend->setFresh(zs.domain_id); - PC.purge(domain.toString()+"$"); + purgeAuthCaches(domain.toString()+"$"); L<