]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Wipe entry form cache before getting a new one to make sure we 8470/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 28 Oct 2019 12:58:01 +0000 (13:58 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 28 Oct 2019 12:58:01 +0000 (13:58 +0100)
actually get fresh records.

pdns/reczones.cc

index dc72ab93297deba8dac282d90350286ddc136410..6a04268b6683c7b8a4ac9ddb7e2428c70cb06041 100644 (file)
@@ -119,6 +119,7 @@ void primeRootNSZones(bool dnssecmode)
     sr.setDNSSECValidationRequested(true);
   }
   for (const auto & qname: t_rootNSZones) {
+    t_RC->doWipeCache(qname, false, QType::NS);
     vector<DNSRecord> ret;
     sr.beginResolve(qname, QType(QType::NS), QClass::IN, ret);
   }