]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Document what is a too short key lifetime
authorMatthijs Mekking <matthijs@isc.org>
Mon, 20 Jun 2022 09:08:51 +0000 (11:08 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 21 Jun 2022 14:18:49 +0000 (16:18 +0200)
To give a hint to users that get an error that the key lifetime is
shorter than the time it takes to do a rollover.

doc/arm/reference.rst

index 734c5166b76c9a840ca40ac182f975cd9d1acfe6..54ca960b67799b6692a45ef3a6e7dd680bfb0c67 100644 (file)
@@ -5324,9 +5324,15 @@ The following options can be specified in a ``dnssec-policy`` statement:
     ``unlimited``.
 
     Note that the lifetime of a key may be extended if retiring it too
-    soon would cause validation failures.  For example, if the key were
-    configured to roll more frequently than its own TTL, its lifetime
-    would automatically be extended to account for this.
+    soon would cause validation failures. The key lifetime must be
+    longer than the time it takes to do a rollover; that is, the lifetime
+    must be more than the publication interval (which is the sum of
+    ``dnskey-ttl``, ``publish-safety``, and ``zone-propagation-delay``).
+    It must also be more than the retire interval (which is the sum of
+    ``max-zone-ttl``, ``retire-safety`` and ``zone-propagation-delay``
+    for ZSKs, and the sum of ``parent-ds-ttl``, ``retire-safety``, and
+    ``parent-propagation-delay`` for KSKs and CSKs). BIND 9 treats a key
+    lifetime that is too short as an error.
 
     The ``algorithm`` parameter specifies the key's algorithm, expressed
     either as a string ("rsasha256", "ecdsa384", etc.) or as a decimal