]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Document address negation in only-notify 6855/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 15 Aug 2018 11:45:01 +0000 (13:45 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 15 Aug 2018 11:45:01 +0000 (13:45 +0200)
docs/settings.rst

index a121cf1550a8493fb22f74973b94cfea08cf7799..83d6b11a79c6c9a5ac22b7ce7ea1dab5e8fd2ffc 100644 (file)
@@ -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