]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
docs: Explain what DNSSEC settings aggressive NSEC requires 10153/head
authorMatt Nordhoff <mnordhoff@mattnordhoff.com>
Mon, 8 Mar 2021 13:45:17 +0000 (13:45 +0000)
committerMatt Nordhoff <mnordhoff@mattnordhoff.com>
Mon, 8 Mar 2021 13:50:30 +0000 (13:50 +0000)
pdns/pdns_recursor.cc
pdns/recursordist/docs/settings.rst

index b9e79acb5b439a8bb5556ba72fc0041f65336a71..663ad025c6d14734c600ab2ed7ec3f9fdd5d82c1 100644 (file)
@@ -5528,7 +5528,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 validation is enabled, the recursor will cache NSEC and NSEC3 records to generate negative answers, as defined in rfc8198")="100000";
+    ::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().setCmd("help","Provide a helpful message");
     ::arg().setCmd("version","Print version string");
index 078a616bf6f7e0e9f36c836d925d90573d4bd1db..cb6f8634969dfd98870e4f96830c3fc274e4bfb0 100644 (file)
@@ -30,8 +30,8 @@ variable to act as base setting. This is mostly useful for
 -  Integer
 -  Default: 100000
 
-The number of records to cache in the aggressive cache. If set to a value greater than 0, and DNSSEC validation is enabled, the recursor will cache NSEC and NSEC3 records to generate negative answers, as defined in :rfc:`8198`.
-This setting requires DNSSEC validation to be enabled via the `dnssec`_ setting.
+The number of records to cache in the aggressive cache. If set to a value greater than 0, the recursor will cache NSEC and NSEC3 records to generate negative answers, as defined in :rfc:`8198`.
+To use this, DNSSEC processing or validation must be enabled by setting `dnssec`_ to ``process``, ``log-fail`` or ``validate``.
 
 .. _setting-allow-from: