From: Kees Monshouwer Date: Tue, 2 Aug 2022 11:54:53 +0000 (+0200) Subject: auth: make sure a notified zone is in the zonecache X-Git-Tag: auth-4.8.0-alpha0~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9931f46f4d75ecf3896b7ad34a260678a0267f1e;p=thirdparty%2Fpdns.git auth: make sure a notified zone is in the zonecache --- diff --git a/pdns/mastercommunicator.cc b/pdns/mastercommunicator.cc index efee904399..ce32897f4b 100644 --- a/pdns/mastercommunicator.cc +++ b/pdns/mastercommunicator.cc @@ -23,6 +23,7 @@ #include "config.h" #endif #include "auth-caches.hh" +#include "auth-zonecache.hh" #include "utility.hh" #include #include "communicator.hh" @@ -162,6 +163,7 @@ void CommunicatorClass::masterUpdateCheck(PacketHandler *P) for(auto& di : cmdomains) { purgeAuthCachesExact(di.zone); + g_zoneCache.add(di.zone, di.id); queueNotifyDomain(di, B); di.backend->setNotified(di.id, di.serial); }