From 624bbf403c391ad27daacee4b31b51e0079e3db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Thu, 16 Jun 2022 17:03:53 +0200 Subject: [PATCH] Deduplicate edns-udp-size definition in the ARM --- doc/arm/reference.rst | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/doc/arm/reference.rst b/doc/arm/reference.rst index 031016b37c..430dc9dc74 100644 --- a/doc/arm/reference.rst +++ b/doc/arm/reference.rst @@ -4027,7 +4027,8 @@ Tuning payload size on **reliable** networks would be 1432. Any server-specific ``edns-udp-size`` setting has precedence over all - the above rules. + the above rules, i.e. configures a static value for a given + :namedconf:ref:`server` block. .. namedconf:statement:: max-udp-size @@ -5146,21 +5147,6 @@ any top-level ``server`` statements are used as defaults. use EDNS when communicating with the remote server. The default is ``yes``. -.. namedconf:statement:: edns-udp-size - - The ``edns-udp-size`` option sets the EDNS UDP size that is advertised - by :iscman:`named` when querying the remote server. Valid values are 512 to - 4096 bytes; values outside this range are silently adjusted to the - nearest value within it. This option is useful when - advertising a different value to this server than the value advertised - globally: for example, when there is a firewall at the remote site that - is blocking large replies. Note: currently, this sets a single UDP size - for all packets sent to the server; :iscman:`named` does not deviate from this - value. This differs from the behavior of ``edns-udp-size`` in - ``options`` or ``view`` statements, where it specifies a maximum value. - The ``server`` statement behavior may be brought into conformance with - the ``options``/``view`` behavior in future releases. - .. namedconf:statement:: edns-version The ``edns-version`` option sets the maximum EDNS VERSION that is @@ -5274,6 +5260,12 @@ any top-level ``server`` statements are used as defaults. may determine that COOKIE is not supported by the remote server and not add a COOKIE EDNS option to requests. +It is possible to override the following values defined in :namedconf:ref:`view` +and :namedconf:ref:`options` blocks: + + - :namedconf:ref:`edns-udp-size` + + .. _statschannels: ``statistics-channels`` Statement Grammar