From: Pieter Lexis Date: Wed, 15 Aug 2018 11:45:01 +0000 (+0200) Subject: Document address negation in only-notify X-Git-Tag: dnsdist-1.3.3~160^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6855%2Fhead;p=thirdparty%2Fpdns.git Document address negation in only-notify --- diff --git a/docs/settings.rst b/docs/settings.rst index a121cf1550..83d6b11a79 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -1086,6 +1086,11 @@ of this setting, the IP addresses or netmasks configured with :ref:`setting-also-notify` and ``ALSO-NOTIFY`` domain metadata always receive AXFR NOTIFYs. +IP addresses and netmasks can be excluded by prefixing them with a ``!``. +To notify all IP addresses apart from the 192.168.0.0/24 subnet use the following:: + + only-notify=0.0.0.0/0, ::/0, !192.168.0.0/24 + .. note:: Even if NOTIFYs are limited by a netmask, PowerDNS first has to resolve all the hostnames to check their IP addresses against the