]> granicus.if.org Git - pdns/commitdiff
auth: send notifies only to the nameservers in the zone
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 9 Jul 2019 18:36:48 +0000 (20:36 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 20 Sep 2019 12:42:27 +0000 (14:42 +0200)
pdns/mastercommunicator.cc

index 3291c906db6201a9536ef37f9549a6b291f60908..1eef51563635f5bdf1cec163c6c04a655219d959 100644 (file)
@@ -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<NSRecordContent>(rr.dr)->getNS().toString());