2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Deduplicate definitions of address_match_list and address_match_element

It would be better if it fit into the grammar glossary, but it is too
long. A link must do.
This commit is contained in:
Petr Špaček 2022-07-01 16:48:02 +02:00
parent 4915b1f3a1
commit decb4643d1
No known key found for this signature in database
GPG Key ID: ABD587CDF06581AE

View File

@ -201,12 +201,21 @@ Address Match Lists
Syntax
^^^^^^
Address Match List is a list of semicolor-separated :term:`address_match_element` s.
::
address_match_list = address_match_list_element ; ...
{ <address_match_element>; ... };
address_match_list_element = [ ! ] ( ip_address | netprefix |
key server_key | acl_name | { address_match_list } )
Each element is then defined as:
.. glossary::
``address_match_element``
::
[ ! ] ( <ip_address> | <netprefix> | key <server_key> | <acl_name> | { address_match_list } )
Definition and Usage
^^^^^^^^^^^^^^^^^^^^
@ -216,13 +225,13 @@ various server operations. They are also used in the :any:`listen-on` and
:any:`sortlist` statements. The elements which constitute an address match
list can be any of the following:
- an IP address (IPv4 or IPv6)
- :term:`ip_address`: an IP address (IPv4 or IPv6)
- an IP prefix (in ``/`` notation)
- :term:`netprefix`: an IP prefix (in ``/`` notation)
- a key ID, as defined by the ``key`` statement
- :term:`server_key`: a key ID, as defined by the ``key`` statement
- the name of an address match list defined with the :any:`acl` statement
- :term:`acl_name`: the name of an address match list defined with the :any:`acl` statement
- a nested address match list enclosed in braces
@ -279,7 +288,7 @@ file documentation:
The name of an :term:`address_match_list` as defined by the :any:`acl` statement.
``address_match_list``
A list of one or more :term:`ip_address`, :term:`netprefix`, :term:`server_key`, or :term:`acl_name` elements; see :ref:`address_match_lists`.
See :ref:`address_match_lists`.
``remote-servers``
A named list of one or more :term:`ip_address` s with optional :term:`tls_id`, :term:`server_key`, and/or :term:`port`. A ``remote-servers`` list may include other ``remote-servers`` lists. See :any:`primaries` block.