]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #13453 from omoerbeek/rec-yaml-transition-docs
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 24 Nov 2023 10:02:13 +0000 (11:02 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Nov 2023 10:02:13 +0000 (11:02 +0100)
rec: describe the YAML transition plan in three phases

pdns/recursordist/settings/docs-new-preamble-in.rst
pdns/recursordist/settings/docs-old-preamble-in.rst

index 6bb280c4ba503457734967a2809c8ac226f9662b..92130acdc76858ffa739ecb7d4867799850f32fa 100644 (file)
@@ -5,10 +5,19 @@ Each setting can appear on the command line, prefixed by ``--`` and using the ol
 Settings on the command line are processed after the file-based settings are processed.
 
 .. note::
-   Starting with version 5.0.0., :program:`Recursor` supports a new YAML syntax for configuration files
+   Starting with version 5.0.0, :program:`Recursor` supports a new YAML syntax for configuration files
    as described here.
+   If both ``recursor.conf`` and ``recursor.yml`` files are found in the configuration directory the YAML file is used.
    A configuration using the old style syntax can be converted to a YAML configuration using the instructions in :doc:`appendices/yamlconversion`.
-   In a future release support for the "old-style" settings will be dropped.
+
+   Release 5.0.0 will install a default old-style ``recursor.conf`` files only.
+
+   With the release of version 5.1.0, packages will stop installing a default ``recursor.conf`` and start installing a default ``recursor.yml`` file if no existing ``recursor.conf`` is present.
+   In the absense of a ``recursor.yml`` file, an existing ``recursor.conf`` file will be accepted and used.
+
+   With the release of 5.2.0, the default will be to expect a ``recursor.yml`` file and reading of ``recursor.conf`` files will have to be enabled specifically by providing a command line option.
+
+   In a future release support for the "old-style" ``recursor.conf`` settings file will be dropped.
 
 
 YAML settings file
index 19ca61dcb2c9b0e6521e6d524d212e318fd31a01..c4aabd94b581932c2050753c2a13a40f5edd01ef 100644 (file)
@@ -6,7 +6,8 @@ The command line overrides the configuration file.
 .. note::
    Starting with version 5.0.0, :program:`Recursor` supports a new YAML syntax for configuration files.
    A configuration using the old style syntax can be converted to a YAML configuration using the instructions in :doc:`appendices/yamlconversion`.
-   In a future release support for the "old-style" settings will be dropped.
+   In a future release support for the "old-style" settings decribed here will be dropped.
+   See :doc:`yamlsettings` for details.
 
 .. note::
    Settings marked as ``Boolean`` can either be set to an empty value, which means **on**, or to ``no`` or ``off`` which means **off**.