]> 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>
Wed, 17 Jul 2019 16:41:39 +0000 (18:41 +0200)
pdns/mastercommunicator.cc

index bdd13fb38bdf1f81a2fd964c0738dc568c9d66a8..f9c513af3e46a304e569605b766e2eac7009cf35 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);
+    B->lookup(QType(QType::NS), di.zone, nullptr, di.id);
     while(B->get(rr))
       nsset.insert(getRR<NSRecordContent>(rr.dr)->getNS().toString());