From: Otto Moerbeek Date: Mon, 28 Oct 2019 12:58:01 +0000 (+0100) Subject: Wipe entry form cache before getting a new one to make sure we X-Git-Tag: rec-4.3.0-alpha2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8470%2Fhead;p=thirdparty%2Fpdns.git Wipe entry form cache before getting a new one to make sure we actually get fresh records. --- diff --git a/pdns/reczones.cc b/pdns/reczones.cc index dc72ab9329..6a04268b66 100644 --- a/pdns/reczones.cc +++ b/pdns/reczones.cc @@ -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 ret; sr.beginResolve(qname, QType(QType::NS), QClass::IN, ret); }