]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Deduplicate dnssec-policy definition in the ARM
authorPetr Špaček <pspacek@isc.org>
Fri, 17 Jun 2022 11:24:37 +0000 (13:24 +0200)
committerPetr Špaček <pspacek@isc.org>
Fri, 24 Jun 2022 07:40:51 +0000 (09:40 +0200)
doc/arm/reference.rst

index 60feed0ef470991c97e70be6d478c375f7e6741c..4a5550075987c72b13a230f61c49f90753f8f536 100644 (file)
@@ -1703,14 +1703,11 @@ default is used.
    the maximum is ``1440`` (24 hours); any higher value is silently
    reduced.
 
-.. namedconf:statement:: dnssec-policy
+:namedconf:ref:`dnssec-policy`
 
    This specifies which key and signing policy (KASP) should be used for this
-   zone. This is a string referring to a ``dnssec-policy`` statement.  There
-   are three built-in policies: ``default``, which uses the default policy,
-   ``insecure``, to be used when you want to gracefully unsign your zone, and
-   ``none``, which means no DNSSEC policy.  The default is ``none``.
-   See :ref:`dnssec-policy Grammar <dnssec_policy_grammar>` for more details.
+   zone. This is a string referring to a :namedconf:ref:`dnssec-policy` block.
+   The default is ``none``.
 
 .. namedconf:statement:: dnssec-update-mode
 
@@ -5677,16 +5674,23 @@ for zones.
 A KASP determines how one or more zones are signed with DNSSEC.  For
 example, it specifies how often keys should roll, which cryptographic
 algorithms to use, and how often RRSIG records need to be refreshed.
+Multiple key and signing policies can be configured with unique policy names.
+
+A policy for a zone is selected using a ``dnssec-policy`` statement in the
+:namedconf:ref:`zone` block, specifying the name of the policy that should be
+used.
+
+There are three built-in policies:
+  - ``default``, which uses the :ref:`default policy <dnssec_policy_default>`,
+  - ``insecure``, to be used when you want to gracefully unsign your zone,
+  - ``none``, which means no DNSSEC policy (the same as not selecting
+    ``dnssec-policy`` at all; the zone is not signed.)
 
 Keys are not shared among zones, which means that one set of keys per
 zone is generated even if they have the same policy.  If multiple views
 are configured with different versions of the same zone, each separate
 version uses the same set of signing keys.
 
-Multiple key and signing policies can be configured.  To attach a policy
-to a zone, add a ``dnssec-policy`` option to the ``zone`` statement,
-specifying the name of the policy that should be used.
-
 By default, ``dnssec-policy`` assumes ``inline-signing``. This means that
 a signed version of the zone is maintained separately and is written out to
 a different file on disk (the zone's filename plus a ``.signed`` extension).
@@ -5707,10 +5711,9 @@ taken to submit a DS record to the parent.  Rollover timing for KSKs and
 CSKs is adjusted to take into account delays in processing and
 propagating DS updates.
 
-There are two predefined ``dnssec-policy`` names: ``none`` and
-``default``.  Setting a zone's policy to ``none`` is the same as not
-setting ``dnssec-policy`` at all; the zone is not signed.  Policy
-``default`` causes the zone to be signed with a single combined-signing
+.. _dnssec_policy_default:
+
+Policy ``default`` causes the zone to be signed with a single combined-signing
 key (CSK) using algorithm ECDSAP256SHA256; this key has an unlimited
 lifetime.  (A verbose copy of this policy may be found in the source
 tree, in the file ``doc/misc/dnssec-policy.default.conf``.)