From 6d27e157aecfb53a1c2c5af74e8345344478336c Mon Sep 17 00:00:00 2001 From: bert hubert Date: Wed, 4 Feb 2015 13:03:05 +0100 Subject: [PATCH] clarify booleans in our documentation, plus serve-rfc1918 correction. --- docs/markdown/recursor/settings.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/markdown/recursor/settings.md b/docs/markdown/recursor/settings.md index d570b469d..841587b3b 100644 --- a/docs/markdown/recursor/settings.md +++ b/docs/markdown/recursor/settings.md @@ -1,6 +1,15 @@ # All PowerDNS Recursor Settings Each setting can appear on the command line, prefixed by '--', or in the configuration file. The command line overrides the configuration file. +**Note**: Settings marked as 'Boolean' can either be set to an empty value, which +means on, or to 'no' or 'off' which means off. Anything else means on. + +So, as an example: + + * 'serve-rfc1918' on its own means: do serve those zones. + * 'serve-rfc1918=off' or 'serve-rfc1918=no' means: do not serve those zones. + * Anything else means: do serve those zones. + ## `aaaa-additional-processing` * Boolean * Default: No @@ -472,7 +481,7 @@ which also disables outgoing IPv6 support. Don't log queries. -## `serve-rfc-1918` +## `serve-rfc1918` * Boolean * Default: yes -- 2.40.0