From: Remi Gacogne Date: Wed, 24 Feb 2021 10:34:19 +0000 (+0100) Subject: rec: Enable the aggressive NSEC cache by default, if DNSSEC is enabled X-Git-Tag: dnsdist-1.6.0-alpha2~12^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f24887cd86daf726b2248e9f84ac19311bb8b7ba;p=thirdparty%2Fpdns.git rec: Enable the aggressive NSEC cache by default, if DNSSEC is enabled --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index c0f713f491..c4a34be77e 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -4746,11 +4746,11 @@ static int serviceMain(int argc, char*argv[]) s_addExtendedResolutionDNSErrors = ::arg().mustDo("extended-resolution-errors"); if (::arg().asNum("aggressive-nsec-cache-size") > 0) { - if (g_dnssecmode == DNSSECMode::ValidateAll || g_dnssecmode == DNSSECMode::ValidateForLog) { + if (g_dnssecmode == DNSSECMode::ValidateAll || g_dnssecmode == DNSSECMode::ValidateForLog || g_dnssecmode == DNSSECMode::Process) { g_aggressiveNSECCache = make_unique(::arg().asNum("aggressive-nsec-cache-size")); } else { - g_log<