]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update settings.rst
authorNathan Neulinger <nneul@neulinger.org>
Sun, 20 Nov 2022 23:16:46 +0000 (17:16 -0600)
committerGitHub <noreply@github.com>
Sun, 20 Nov 2022 23:16:46 +0000 (17:16 -0600)
Add an example for negating dont-query

pdns/recursordist/docs/settings.rst

index 8d89632b64b323254de087e54dc008ca2ef7814c..4d55b3c4129c942bcba0c9410a0fa97b708d2bd2 100644 (file)
@@ -530,6 +530,8 @@ This can have odd effects, depending on your network, and may even be a security
 Therefore, the PowerDNS Recursor by default does not query private space IP addresses.
 This setting can be used to expand or reduce the limitations.
 
+Address ranges can be excluded from this setting by using the negation syntax for example dont-query+=!10.100.0.0/24 
+
 Queries for names in forward zones and to addresses as configured in any of the settings `forward-zones`_, `forward-zones-file`_ or `forward-zones-recurse`_ are performed regardless of these limitations.
 
 .. _setting-ecs-add-for: