]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/recursordist/settings/docs-new-preamble-in.rst
Merge pull request #13453 from omoerbeek/rec-yaml-transition-docs
[thirdparty/pdns.git] / pdns / recursordist / settings / docs-new-preamble-in.rst
index f5aa1a90169e57b79a67a84f2ad00606632822ef..92130acdc76858ffa739ecb7d4867799850f32fa 100644 (file)
@@ -52,7 +52,7 @@ An example :program:`Recursor` YAML configuration file looks like:
     loglevel: 6
 
 Take care when listing IPv6 addresses, as characters used for these are special to YAML.
-If in doubt, quote any string containing ``:``, ``[`` or ``]`` and use (online) tools to check your YAML syntax.
+If in doubt, quote any string containing ``:``, ``!``, ``[`` or ``]`` and use (online) tools to check your YAML syntax.
 Specify an empty sequence using ``[]``.
 
 The main setting file is called ``recursor.yml`` and will be processed first.
@@ -110,8 +110,7 @@ After processing ``extra.yml`` the value will be set to the empty sequence, as e
            - '::2'
 
    The result will *not* be a a single forward with two IP addresses, but two entries for ``example.net``.
-   It depends on the specific setting how the sequence is processed further.
-   In the future we might add a check for this case.
+   It depends on the specific setting how the sequence is processed and interpreted further.
 
 Socket Address
 ^^^^^^^^^^^^^^
@@ -137,7 +136,7 @@ For example, ``alow-from`` takes a sequence of subnets:
    allow_from:
      - '2001:DB8::/32'
      - 128.66.0.0/16
-     - !128.66.1.2
+     - '!128.66.1.2'
 
 In this case the address ``128.66.1.2`` is excluded from the addresses allowed access.