]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Revert "notify slaves after dnsupdate was processed" 5321/head
authorKees Monshouwer <mind04@monshouwer.org>
Sat, 13 May 2017 10:44:31 +0000 (12:44 +0200)
committermind04 <mind04@monshouwer.org>
Sat, 13 May 2017 10:44:31 +0000 (12:44 +0200)
This reverts commit 89033f988aa6f4ffbac08c9447a2a7f062f3a34f.

pdns/rfc2136handler.cc

index 3cb8916baac43136ce5576f5cce79626dc19156e..dfe16b90f28c155a9f249b257abb58438b317f22 100644 (file)
@@ -11,7 +11,6 @@
 #include "base32.hh"
 
 #include "misc.hh"
-#include "communicator.hh"
 #include "arguments.hh"
 #include "resolver.hh"
 #include "dns_random.hh"
@@ -710,7 +709,6 @@ int PacketHandler::forwardPacket(const string &msgPrefix, DNSPacket *p, DomainIn
 }
 
 int PacketHandler::processUpdate(DNSPacket *p) {
-  extern CommunicatorClass Communicator;
   if (! ::arg().mustDo("dnsupdate"))
     return RCode::Refused;
 
@@ -982,8 +980,6 @@ int PacketHandler::processUpdate(DNSPacket *p) {
       }
 
       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;