]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Set default number of additional NSEC3 iterations to 0 in dnssec-signzone
authorPetr Špaček <pspacek@isc.org>
Fri, 10 Jun 2022 07:42:35 +0000 (09:42 +0200)
committerPetr Špaček <pspacek@isc.org>
Tue, 14 Jun 2022 06:30:32 +0000 (08:30 +0200)
We forgot to update dnssec-signzone while updating KASP defaults.

Closes: #3395
Related: #2956

CHANGES
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssec-signzone.rst
doc/man/dnssec-signzone.1in
doc/notes/notes-current.rst

diff --git a/CHANGES b/CHANGES
index cbf10e5db87b36cb6b64289dc5b531ab2fef562e..761ecfb031d14b084de344a2b09fb11531e50c77 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+5904.  [func]          Changed dnssec-signzone -H default to 0 additional
+                       NSEC3 iterations. [GL #3395]
+
 5903.  [bug]           When named checks that the OPCODE in a response matches
                        that of the request, if there is a mismatch named logs
                        an error.  Some of those error messages incorrectly
index 66abc6c002276af30407ba145a640cfd2d398079..9c35cd60f551ede0beeaefc281ce648f9307df6a 100644 (file)
@@ -152,7 +152,7 @@ static dns_dbiterator_t *gdbiter; /* The database iterator */
 static dns_rdataclass_t gclass;          /* The class */
 static dns_name_t *gorigin;      /* The database origin */
 static int nsec3flags = 0;
-static dns_iterations_t nsec3iter = 10U;
+static dns_iterations_t nsec3iter = 0U;
 static unsigned char saltbuf[255];
 static unsigned char *gsalt = saltbuf;
 static size_t salt_length = 0;
index 244fc64d61cc59cfaeef0c2cefa10a5fa74d2154..64c900228a2ee897316ea2325552e637c85a1c1d 100644 (file)
@@ -365,7 +365,7 @@ Options
 .. option:: -H iterations
 
    This option indicates that, when generating an NSEC3 chain, BIND 9 should use this many iterations. The default
-   is 10.
+   is 0.
 
 .. option:: -A
 
index ffc5278ea0fe36c0dc60d0a37ea7a0c0c57a58f9..cfa0cb5cbed9f4e9c86d86302a7cfc52fb7906d5 100644 (file)
@@ -413,7 +413,7 @@ generating the NSEC3 chain.
 .TP
 .B \-H iterations
 This option indicates that, when generating an NSEC3 chain, BIND 9 should use this many iterations. The default
-is 10.
+is 0.
 .UNINDENT
 .INDENT 0.0
 .TP
index 44109bc99404c6455c50202fdf71138f568e9c55..3b77dcbc67bb6487a21963413e262d95ab6f8f30 100644 (file)
@@ -35,10 +35,10 @@ Removed Features
 Feature Changes
 ~~~~~~~~~~~~~~~
 
-- In order to reduce unnecessary memory consumption in the cache,
-  NXDOMAIN records are no longer retained past the normal negative
-  cache TTL, even if ``stale-cache-enable`` is set to ``yes``.
-  :gl:`#3386`.
+- :option:The `dnssec-signzone -H` default value has been changed to 0 additional
+  NSEC3 iterations. This change aligns the :iscman:`dnssec-signzone` default with
+  the default used by the :ref:`dnssec-policy <dnssec_policy_grammar>` feature.
+  :gl:`#3395`
 
 Bug Fixes
 ~~~~~~~~~