#include "base32.hh"
#include "misc.hh"
+#include "communicator.hh"
#include "arguments.hh"
#include "resolver.hh"
#include "dns_random.hh"
}
int PacketHandler::processUpdate(DNSPacket *p) {
+ extern CommunicatorClass Communicator;
if (! ::arg().mustDo("dnsupdate"))
return RCode::Refused;
purgeAuthCaches(zone);
L<<Logger::Info<<msgPrefix<<"Update completed, "<<changedRecords<<" changed records committed."<<endl;
+ if(::arg().mustDo("master") || ::arg().mustDo("slave-renotify"))
+ Communicator.notifyDomain(di.zone);
} else {
//No change, no commit, we perform abort() because some backends might like this more.
L<<Logger::Info<<msgPrefix<<"Update completed, 0 changes, rolling back."<<endl;