From 9931f46f4d75ecf3896b7ad34a260678a0267f1e Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Tue, 2 Aug 2022 13:54:53 +0200 Subject: [PATCH] auth: make sure a notified zone is in the zonecache --- pdns/mastercommunicator.cc | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.47.2