From: Otto Date: Tue, 12 Jan 2021 14:55:34 +0000 (+0100) Subject: Mention += in the docs plus an example X-Git-Tag: dnsdist-1.6.0-alpha1~33^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4e2fb3b16510174067ae4bf1ebb1f284c46a32b;p=thirdparty%2Fpdns.git Mention += in the docs plus an example --- diff --git a/pdns/recursordist/docs/index.rst b/pdns/recursordist/docs/index.rst index 0f74070361..d4b30c0edb 100644 --- a/pdns/recursordist/docs/index.rst +++ b/pdns/recursordist/docs/index.rst @@ -8,7 +8,7 @@ Introduction The PowerDNS Recursor is a high-performance DNS recursor with built-in scripting capabilities. It is known to power the resolving needs of over 150 million internet connections. -The documentation is only for the 4.1 series, users of older versions are urged to upgrade! +The documentation is only for the 4.1 and higher series, users of older versions are urged to upgrade! This documentation is also available as a `PDF document `_. diff --git a/pdns/recursordist/docs/settings.rst b/pdns/recursordist/docs/settings.rst index 5c2b7bc4ff..27495cfb1c 100644 --- a/pdns/recursordist/docs/settings.rst +++ b/pdns/recursordist/docs/settings.rst @@ -12,6 +12,14 @@ As an example: - ``serve-rfc1918=off`` or ``serve-rfc1918=no`` means: do not serve those zones. - Anything else means: do serve those zones. +You can use ``+=`` syntax to set some variables incrementally, but this +requires you to have at least one non-incremental setting for the +variable to act as base setting. This is mostly useful for +:ref:`setting-include-dir` directive. An example:: + + forward-zones = foo.example.com=192.168.100.1; + forward-zones += bar.example.com=[1234::abcde]:5353; + .. _setting-allow-from: ``allow-from``