From 22928c2f4cecbff9e763d13caefe2cd45a6d9598 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Wed, 15 Aug 2018 13:45:01 +0200 Subject: [PATCH] Document address negation in only-notify --- docs/settings.rst | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.47.2