]> granicus.if.org Git - pdns/commitdiff
Revert "On incoming NOTIFY load our serial from backend to have it available during...
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 30 Nov 2018 07:13:21 +0000 (08:13 +0100)
committermind04 <mind04@monshouwer.org>
Fri, 30 Nov 2018 07:13:21 +0000 (08:13 +0100)
This reverts commit 74259e83d76577a315e512c6e7ff7098c7e24d8d.

pdns/packethandler.cc

index 5abce01b021982235ab403a30321b272541a5ea7..fff6f730545ac414b6a550e55a9ad069464bd7ef 100644 (file)
@@ -884,7 +884,7 @@ int PacketHandler::processNotify(DNSPacket *p)
   // Domain verification
   //
   DomainInfo di;
-  if(!B.getDomainInfo(p->qdomain, di, true) || !di.backend) {
+  if(!B.getDomainInfo(p->qdomain, di, false) || !di.backend) {
     if(::arg().mustDo("supermaster")) {
       g_log<<Logger::Warning<<"Received NOTIFY for "<<p->qdomain<<" from "<<p->getRemote()<<" for which we are not authoritative, trying supermaster"<<endl;
       return trySuperMaster(p, p->getTSIGKeyname());
@@ -918,7 +918,7 @@ int PacketHandler::processNotify(DNSPacket *p)
   }
 
   if(::arg().mustDo("slave")) {
-    g_log<<Logger::Debug<<"Queueing slave check for "<<p->qdomain<<", our serial is "<<di.serial<<endl;
+    g_log<<Logger::Debug<<"Queueing slave check for "<<p->qdomain<<endl;
     Communicator.addSlaveCheckRequest(di, p->d_remote);
   }
   return 0;