]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- For #1102: clearer text for using interface-* options for the
authorYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Fri, 12 Jul 2024 14:29:44 +0000 (16:29 +0200)
committerYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Fri, 12 Jul 2024 14:29:44 +0000 (16:29 +0200)
  loopback interface.

doc/Changelog
doc/unbound.conf.5.in

index bc71af26dc0463cf423c1fac083f447e89b39505..f304ecb27b6de14c87d7fb4b9221234f48740f91 100644 (file)
@@ -1,5 +1,7 @@
 12 July 2024: Yorgos
        - Add RPZ tag tests in acl_interface.tdir.
+       - For #1102: clearer text for using interface-* options for the
+         loopback interface.
 
 12 July 2024: Wouter
        - Fix #1103: unbound 1.20.0 segmentation fault with nghttp2.
index 34e61d69fd4ee517e1cbe30d9a893edb204cde63..390706af7cb0fe9e427a7e4ac9b2e4508b2c27e9 100644 (file)
@@ -788,7 +788,8 @@ transports, regardless of the presence of an DNS Cookie and regardless of the
 UDP queries without a DNS Cookie receive REFUSED responses with the TC flag set,
 that may trigger fall back to TCP for those clients.
 .IP
-By default only localhost is \fIallow\fRed, the rest is \fIrefuse\fRd.
+By default only localhost (the 127.0.0.0/8 IP netblock, not the loopback
+interface) is implicitly \fIallow\fRed, the rest is \fIrefuse\fRd.
 The default is \fIrefuse\fRd, because that is protocol\-friendly. The DNS
 protocol is not designed to handle dropped packets due to policy, and
 dropping may result in (possibly excessive) retried queries.
@@ -824,8 +825,12 @@ Similar to \fBaccess\-control:\fR but for interfaces.
 .IP
 The action is the same as the ones defined under \fBaccess\-control:\fR.
 Interfaces are \fIrefuse\fRd by default.
-By default only localhost (the IP netblock, not the loopback interface) is
-\fIallow\fRed through the default \fBaccess\-control:\fR behavior.
+By default only localhost (the 127.0.0.0/8 IP netblock, not the loopback
+interface) is implicitly \fIallow\fRed through the default
+\fBaccess\-control:\fR behavior.
+This also means that any attempt to use the \fBinterface-*:\fR options for the
+loopback interface will not work as they will be overridden by the implicit
+default "\fBaccess\-control:\fR 127.0.0.0/8 allow" option.
 .IP
 Note that the interface needs to be already specified with \fBinterface:\fR
 and that any \fBaccess-control*:\fR setting overrides all \fBinterface-*:\fR