]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: update setting for aggressive-nsec-cache-size 10299/head
authorphonedph1 <20867105+phonedph1@users.noreply.github.com>
Thu, 15 Apr 2021 20:31:30 +0000 (14:31 -0600)
committerGitHub <noreply@github.com>
Thu, 15 Apr 2021 20:31:30 +0000 (14:31 -0600)
pdns/pdns_recursor.cc

index 63cd27e2d4bc2eea02a75fa39f881f7fc8ab1327..72588567aca192ab90999c247147b006bf188454 100644 (file)
@@ -5625,7 +5625,7 @@ int main(int argc, char **argv)
 
     ::arg().setSwitch("extended-resolution-errors", "If set, send an EDNS Extended Error extension on resolution failures, like DNSSEC validation errors")="no";
 
-    ::arg().setSwitch("aggressive-nsec-cache-size", "The number of records to cache in the aggressive cache. If set to a value greater than 0, and DNSSEC processing or validation is enabled, the recursor will cache NSEC and NSEC3 records to generate negative answers, as defined in rfc8198")="100000";
+    ::arg().set("aggressive-nsec-cache-size", "The number of records to cache in the aggressive cache. If set to a value greater than 0, and DNSSEC processing or validation is enabled, the recursor will cache NSEC and NSEC3 records to generate negative answers, as defined in rfc8198")="100000";
 
     ::arg().set("edns-padding-from", "List of netmasks (proxy IP in case of XPF or proxy-protocol presence, client IP otherwise) for which EDNS padding will be enabled in responses, provided that 'edns-padding-mode' applies")="";
     ::arg().set("edns-padding-mode", "Whether to add EDNS padding to all responses ('always') or only to responses for queries containing the EDNS padding option ('padded-queries-only', the default). In both modes, padding will only be added to responses for queries coming from `edns-padding-from`_ sources")="padded-queries-only";