]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: new default nsec3param settings, fixes #10864 11012/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 19 Nov 2021 11:56:39 +0000 (12:56 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 19 Nov 2021 11:56:39 +0000 (12:56 +0100)
docs/dnssec/operational.rst
docs/domainmetadata.rst
docs/manpages/pdnsutil.1.rst
docs/upgrading.rst
pdns/pdnsutil.cc

index 7eee2930d0e14a741fd6b14f93f78b0a1c62027a..a2de3b928d8ed194fcc0368752649b35d02837b1 100644 (file)
@@ -44,7 +44,7 @@ e.g.
 
 .. code-block:: shell
 
-    pdnsutil set-nsec3 example.net '1 0 1 ab'
+    pdnsutil set-nsec3 example.net '1 0 0 -'
 
 The quoted part is the content of the NSEC3PARAM records, as defined in
 :rfc:`5155 <5155#section-4>`, in order:
index a515c5f93fd4c7ca469596c480833b0c68182f84..ff4fb4b3f47ae816702135c78ffe3325aa390d9a 100644 (file)
@@ -152,7 +152,7 @@ NSEC3PARAM
 NSEC3 parameters of a DNSSEC zone. Will be used to synthesize the
 NSEC3PARAM record. If present, NSEC3 is used, if not present, zones
 default to NSEC. See ``set-nsec3`` in :doc:`pdnsutil <dnssec/pdnsutil>`.
-Example content: "1 0 1 ab".
+Example content: "1 0 0 -".
 
 .. _metadata-presigned:
 
index 6c59f1651a8dc2ce3220c654ee6f25563474e42b..ca086d6112bcc9942bb832fe8790df26089b2b41 100644 (file)
@@ -103,7 +103,7 @@ set-nsec3 *ZONE* ['*HASH-ALGORITHM* *FLAGS* *ITERATIONS* *SALT*'] [**narrow**]
     it will send out the hash + 1 as the next secure record. Narrow mode
     requires online signing capabilities by the nameserver and therefore
     zone transfers are denied. If only the zone is provided as argument,
-    the 4-parameter quoted string defaults to ``'1 0 1 ab'``. A sample
+    the 4-parameter quoted string defaults to ``'1 0 0 -'``. A sample
     commandline is: ``pdnsutil set-nsec3 powerdnssec.org '1 1 1 ab' narrow``.
     **WARNING**: If running in RSASHA1 mode (algorithm 5 or 7), switching
     from NSEC to NSEC3 will require a DS update in the parent zone.
index 93e31abb62050edd873aef81dcdc7ea462f4bf63..b754d09d70718b4db48733d81543e378d60ac9a0 100644 (file)
@@ -21,6 +21,11 @@ In 4.6.0, this automatic conversion is fully removed.
 If you still have ``@`` signs in any SOA RNAMEs, 4.6.0 will serve those out literally.
 You can find any stray ``@`` signs by running ``pdnsutil check-all-zones``.
 
+New default NSEC3 parameters
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Following `draft-ietf-dnsop-nsec3-guidance (Guidance for NSEC3 parameter settings) <https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-nsec3-guidance>`__, the default NSEC3PARAM settings (see :ref:`dnssec-operational-nsec-modes-params`) in pdnsutil are now `1 0 0 -` instead of `1 0 1 ab`.
+
 4.4.x to 4.5.0
 --------------
 
index 13a5bfb80ff8246ed3b669d6f937073812ac134b..da2e60e7ab114420261192d61379aeba2332c3b8 100644 (file)
@@ -3020,7 +3020,7 @@ try
       cerr<<"Syntax: pdnsutil set-nsec3 ZONE 'params' [narrow]"<<endl;
       return 0;
     }
-    string nsec3params = cmds.size() > 2 ? cmds.at(2) : "1 0 1 ab";
+    string nsec3params = cmds.size() > 2 ? cmds.at(2) : "1 0 0 -";
     bool narrow = cmds.size() > 3 && cmds.at(3) == "narrow";
     NSEC3PARAMRecordContent ns3pr(nsec3params);