From: Remi Gacogne Date: Tue, 17 Nov 2020 08:15:46 +0000 (+0100) Subject: rec: PolicyOverridesGettag is the default for RPZ zones X-Git-Tag: auth-4.4.0-beta1~2^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f71b82ce1f61c7824dffd03f3681beb072e5106;p=thirdparty%2Fpdns.git rec: PolicyOverridesGettag is the default for RPZ zones --- diff --git a/pdns/rec-lua-conf.cc b/pdns/rec-lua-conf.cc index e94f816f18..6a39f30c02 100644 --- a/pdns/rec-lua-conf.cc +++ b/pdns/rec-lua-conf.cc @@ -260,7 +260,6 @@ void loadRecursorLuaConfig(const std::string& fname, luaConfigDelayedThreads& de std::string polName("rpzFile"); std::shared_ptr zone = std::make_shared(); uint32_t maxTTL = std::numeric_limits::max(); - zone->setPolicyOverridesGettag(true); if (options) { auto& have = *options; parseRPZParameters(have, zone, polName, defpol, defpolOverrideLocal, maxTTL); @@ -307,7 +306,6 @@ void loadRecursorLuaConfig(const std::string& fname, luaConfigDelayedThreads& de if (options) { auto& have = *options; - zone->setPolicyOverridesGettag(true); parseRPZParameters(have, zone, polName, defpol, defpolOverrideLocal, maxTTL); if(have.count("tsigname")) {