From: Kees Monshouwer Date: Thu, 4 Jul 2019 07:30:29 +0000 (+0200) Subject: auth: do not update identical notified serials X-Git-Tag: auth-4.3.0-beta2~8^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f159e13767c75d2671953d72e65f88460c7e748b;p=thirdparty%2Fpdns.git auth: do not update identical notified serials --- diff --git a/pdns/mastercommunicator.cc b/pdns/mastercommunicator.cc index abd496fe7a..4219e1d356 100644 --- a/pdns/mastercommunicator.cc +++ b/pdns/mastercommunicator.cc @@ -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; }