From: Kees Monshouwer Date: Tue, 9 Jul 2019 18:36:48 +0000 (+0200) Subject: auth: send notifies only to the nameservers in the zone X-Git-Tag: dnsdist-1.4.0-rc3~12^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bd5eb80f3944725821401b59d76592b6aced4a3;p=pdns auth: send notifies only to the nameservers in the zone --- diff --git a/pdns/mastercommunicator.cc b/pdns/mastercommunicator.cc index 3291c906d..1eef51563 100644 --- a/pdns/mastercommunicator.cc +++ b/pdns/mastercommunicator.cc @@ -52,7 +52,7 @@ void CommunicatorClass::queueNotifyDomain(const DomainInfo& di, UeberBackend* B) try { if (d_onlyNotify.size()) { - B->lookup(QType(QType::NS), di.zone, -1); + B->lookup(QType(QType::NS), di.zone, di.id); while(B->get(rr)) nsset.insert(getRR(rr.dr)->getNS().toString());