]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Expand blackhole description
authorOndřej Surý <ondrej@isc.org>
Thu, 26 Feb 2026 16:13:04 +0000 (17:13 +0100)
committerMark Andrews <marka@isc.org>
Wed, 11 Mar 2026 22:48:05 +0000 (09:48 +1100)
Clarify the behavior of negated addresses within the `blackhole`
statement to prevent common configuration misunderstandings.

doc/arm/reference.rst

index 5c09f64a3fce83ca928cdfcb2bc72d98893157a6..b3d746d5b1465409c94dddc617547b2e277dd3f5 100644 (file)
@@ -3069,6 +3069,18 @@ for details on how to specify IP address lists.
    from or or cannot use to resolve a query. Queries from these addresses are not
    responded to. The default is ``none``.
 
+   When configuring this list, note that BIND evaluates Access Control Lists
+   sequentially (first match wins). A common misconception is that the directive
+   ``!address;`` blocks everything except that address. In reality, it only
+   explicitly exempts ``address`` from the blackhole; all other IP addresses
+   reach the end of the list without matching, meaning they are also not
+   blackholed.
+
+   To successfully blackhole all traffic *except* specific addresses, you must
+   explicitly catch the remaining traffic with ``any;`` at the end of the list.
+   For example: ``!address; any;``
+
+
 .. namedconf:statement:: no-case-compress
    :tags: server
    :short: Specifies a list of addresses that require case-insensitive compression in responses.