From f159e13767c75d2671953d72e65f88460c7e748b Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Thu, 4 Jul 2019 09:30:29 +0200 Subject: [PATCH] auth: do not update identical notified serials --- pdns/mastercommunicator.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.47.2