]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: do not update identical notified serials 8096/head
authorKees Monshouwer <mind04@monshouwer.org>
Thu, 4 Jul 2019 07:30:29 +0000 (09:30 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 14 Feb 2020 14:24:39 +0000 (15:24 +0100)
pdns/mastercommunicator.cc

index abd496fe7a895f6fc6bf367807c7c30c38f2cff9..4219e1d356bd0a374ef1e665e4029e232418fd09 100644 (file)
@@ -120,8 +120,9 @@ bool CommunicatorClass::notifyDomain(const DNSName &domain, UeberBackend* B)
     return false;
   }
   queueNotifyDomain(di, B);
-  // call backend and tell them we sent out the notification - even though that is premature    
-  di.backend->setNotified(di.id, di.serial);
+  // call backend and tell them we sent out the notification - even though that is premature
+  if (di.serial != di.notified_serial)
+    di.backend->setNotified(di.id, di.serial);
 
   return true; 
 }