]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove the RFC 1918 reverse-leakage warning 12312/head
authorOndřej Surý <ondrej@isc.org>
Wed, 24 Jun 2026 11:24:43 +0000 (13:24 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 12 Aug 2026 13:39:59 +0000 (15:39 +0200)
commit701c766ffdb8ce14896fa6da43346097afddf0bb
tree0db34f02bb82d869af03c4a23047b691fdb6ee68
parenta7ec6a90ab168d79e35afa5b173ebee6810de90f
Remove the RFC 1918 reverse-leakage warning

warn_rfc1918() logged a SECURITY-category warning on every cached
NXDOMAIN for a 7-label PTR/IN query whose negative SOA matched the
AS112 sinkhole. A resolver only reaches that state with the built-in
RFC 1918 reverse empty zones disabled or forwarded upstream; with
empty-zones-enable on (the default for a recursive view) those queries
are answered locally and the warning never fires.

The warning therefore only triggers on an already-misconfigured
resolver, where it is unthrottled and emitted once per query: a client
can replay or randomize matching PTR names to flood the logs. The empty
zones already prevent the leak, so the diagnostic earns little while the
log amplification is not worth keeping.
lib/ns/query.c