]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix brain farts spotted by Miod (thanks!) 17689/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 6 Jul 2026 09:19:11 +0000 (11:19 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 6 Jul 2026 09:19:11 +0000 (11:19 +0200)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/docs/running.rst
pdns/dnsdistdist/docs/upgrade_guide.rst

index 6eaceb92ceaa056df646803ac99b23033dc0f922..e1caca917338c04a6f97e063f5a6586c4ee69b81 100644 (file)
@@ -5,7 +5,7 @@ dnsdist is meant to run as a daemon.
 As such, distribution native packages know how to stop/start themselves using operating system services.
 
 It is configured with a configuration file called ``dnsdist.yml``. If that file does not exist, :program:`dnsdist` will attempt to fall back to a ``dnsdist.conf`` file, expecting a configuration in ``Lua`` instead of ``YAML``.
-The default path to this file is determined by the ``SYSCONFDIR`` variable during compilation.
+The default path to these files is determined by the ``SYSCONFDIR`` variable during compilation.
 Most likely this path is ``/etc/dnsdist``,  ``/etc`` or ``/usr/local/etc/``, dnsdist will tell you on startup which file it reads.
 
 dnsdist is designed to (re)start almost instantly.
index 3520209327fb2db28e445d65c4415a3f974f8b45..e551f21b1cd08f72468a0d9c5a8efbb7acdc5045 100644 (file)
@@ -43,7 +43,7 @@ Structured logging is now enabled by default, and can be disabled via :func:`set
 
 :program:`dnsdist` now looks by default for a configuration file named ``dnsdist.yml`` in the system configuration directory (determined by the ``SYSCONFDIR`` variable during compilation), instead of ``dnsdist.conf``. If ``dnsdist.yml`` does not exist, it will automatically fall back to ``dnsdist.conf``. That means that if you are upgrading an existing setup using the ``Lua`` configuration format in a ``dnsdist.conf`` file, you should not have to edit your configuration as long as you don't have a ``dnsdist.yml`` file in the system configuration directory.
 
-Please be aware that after loading a ``dnsdist.yml`` file, :program:`dnsdist` which check whether a file named ``dnsdist.lua`` is present in the system configuration directory, and if so that file will also be loaded but without the ability to use configuration directives. Please see :doc:`the YAML settings reference <reference/yaml-settings>` for more information.
+Please be aware that after loading a ``dnsdist.yml`` file, :program:`dnsdist` will check whether a file named ``dnsdist.lua`` is present in the system configuration directory, and if so that file will also be loaded but without the ability to use configuration directives. Please see :doc:`the YAML settings reference <reference/yaml-settings>` for more information.
 
 The webserver no longer allows cross-origin HTTP requests by default, please have a look at ``webserver.allow_cross_origin_requests`` (:func:`setWebserverConfig`'s ``allowCrossOriginRequests`` for Lua-based configurations) if your setup requires them.