]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: update setting for aggressive-nsec-cache-size 10308/head
authorphonedph1 <20867105+phonedph1@users.noreply.github.com>
Thu, 15 Apr 2021 20:31:30 +0000 (14:31 -0600)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 19 Apr 2021 11:14:29 +0000 (13:14 +0200)
(cherry picked from commit 327851e53faeeee67db857e2152e149edf72753e)

pdns/pdns_recursor.cc

index 76330cba71366057757602d13b88e9d93b6277f3..79446c14bcf53d9e266ab4b72b71517503d90a37 100644 (file)
@@ -5640,7 +5640,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";