From: Remi Gacogne Date: Thu, 31 Oct 2019 09:24:08 +0000 (+0100) Subject: rec: Disable '$GENERATE' when loading trust anchors files X-Git-Tag: dnsdist-1.4.0~22^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8492%2Fhead;p=thirdparty%2Fpdns.git rec: Disable '$GENERATE' when loading trust anchors files --- diff --git a/pdns/validate-recursor.cc b/pdns/validate-recursor.cc index 4392af6003..41adc3da48 100644 --- a/pdns/validate-recursor.cc +++ b/pdns/validate-recursor.cc @@ -34,6 +34,7 @@ bool updateTrustAnchorsFromFile(const std::string &fname, map map newDSAnchors; try { auto zp = ZoneParserTNG(fname); + zp.disableGenerate(); DNSResourceRecord rr; DNSRecord dr; while(zp.get(rr)) {