]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Change statement->argument terminology for control channel
authorPetr Špaček <pspacek@isc.org>
Fri, 17 Jun 2022 12:27:16 +0000 (14:27 +0200)
committerPetr Špaček <pspacek@isc.org>
Fri, 24 Jun 2022 07:40:51 +0000 (09:40 +0200)
control { inet ... allow keys read-only }; are not actual statements
but in fact arguments of a statement. Remove .. namedconf:statement::
syntax to avoid collisions with other statements of the same name.

doc/arm/reference.rst

index 4a5550075987c72b13a230f61c49f90753f8f536..d88848eeca25545deb7359cbeb9b7b6ca49f4524 100644 (file)
@@ -484,24 +484,22 @@ and retrieve non-DNS results from a name server.
    The ability to issue commands over the control channel is restricted by
    the ``allow`` and ``keys`` clauses.
 
-   .. namedconf:statement:: allow
-
+   ``allow``
       Connections to the control channel
       are permitted based on the ``address_match_list``. This is for simple IP
       address-based filtering only; any ``key_id`` elements of the
       ``address_match_list`` are ignored.
 
-.. namedconf:statement:: keys
-
-   The primary authorization mechanism of the command channel is the
-   ``key_list``, which contains a list of ``key_id`` s. Each ``key_id`` in
-   the ``key_list`` is authorized to execute commands over the control
-   channel. See :ref:`admin_tools` for information about
-   configuring keys in :iscman:`rndc`.
+   ``keys``
+      The primary authorization mechanism of the command channel is the
+      ``key_list``, which contains a list of ``key_id``s. Each ``key_id`` in
+      the ``key_list`` is authorized to execute commands over the control
+      channel. See :ref:`admin_tools` for information about
+      configuring keys in :iscman:`rndc`.
 
-.. namedconf:statement:: read-only
 
-   If the ``read-only`` clause is enabled, the control channel is limited
+``read-only``
+   If the ``read-only`` argument is ``on``, the control channel is limited
    to the following set of read-only commands: ``nta -dump``, ``null``,
    ``status``, ``showzone``, ``testgen``, and ``zonestatus``. By default,
    ``read-only`` is not enabled and the control channel allows read-write