BIND doesn't listen to other loopback addresses
Bagas Sanjaya
bagasdotme at gmail.com
Sun Jul 6 00:34:58 UTC 2025
Hi,
I notice BIND's address binding behavior (bug?). I'm running BIND from
git (9.21.10-dev (Development Release) <id:3719cf5>).
My named.conf specifies listen-address to both loopback and WiFi devices:
```
options {
...
listen-on-v6 { none; };
listen-on { 127.0.0.53; 192.168.0.155; };
...
};
```
Starting the instance, I see that BIND only listens to WiFi address in the
journal:
```
...
Jul 06 06:36:52 archie.me named[554]: listening on IPv4 interface wlp2s0, 192.168.0.155#53
...
```
I have to add dummy interface:
```
$ nmcli connection add type dummy ifname bind53 ipv4.method manual ipv4.addresses 127.0.0.53/32 ipv4.method disabled
```
Restarting BIND, the journal shows that BIND listens to both addresses:
```
...
Jul 06 07:00:42 archie.me named[4906]: listening on IPv4 interface wlp2s0, 192.168.0.155#53
Jul 06 07:00:42 archie.me named[4906]: listening on IPv4 interface bind53, 127.0.0.53#53
...
```
It seems like BIND only listen to addresses that are assigned to existing
network devices, no?
Thanks.
--
An old man doll... just what I always wanted! - Clara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250706/ede95b99/attachment.sig>
More information about the bind-users
mailing list