From 8f1c7ae31fc51e836ac912c8e1f812be8859b61a Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 31 Oct 2019 10:24:08 +0100 Subject: [PATCH] rec: Disable '$GENERATE' when loading trust anchors files --- pdns/validate-recursor.cc | 1 + 1 file changed, 1 insertion(+) 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)) { -- 2.47.2