Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rec: document potential upgrade issue #14650

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions pdns/recursordist/docs/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ There is a new metric ``tcp-overflow`` that counts the connections closed immedi
The recursor.conf configuration file may contain YAML configuration syntax and new installs using our packages from repo.powerdns.com will install a configuration file using YAML syntax.
Note to third-party package maintainers: please start doing the same.

.. warning::

If you are using the default *unmodified* ``recursor.conf`` from a previous release, it will be overwritten by an equivalent ``recursor.conf`` in YAML format by most packaging tools.
If you *also* have local setting files in the include directory, these are now expected to be in YAML format as well, because the format of the included files must be the same as the format of the main ``recursor.conf``.
This has the consequence that the previously included files will not be processed after the upgrade.
To work around this issue, either:

- modify the ``recursor.conf`` before upgrading so it does not get overwritten by the upgrade,
- copy back the original old-style ``recursor.conf`` after upgrading,
- or change the format of the existing included files into YAML and make sure their names have the ``.yml`` suffix.

A *modified* ``recursor.conf`` file will not be overwritten by an upgrade.

New settings
^^^^^^^^^^^^

Expand Down
Loading