Bagas Sanjaya <bagasdo...@gmail.com> writes:

> Here in my case, I was expecting BIND to listen to 127.0.0.53 as
> separate address, just like in similar applications (systemd-resolved,
> dnsdist, etc).

You do need to add the address to an interface, but you don't need to
add a new dummy interface.  This will make your config work too:

 ip addr add 127.0.0.53 dev lo

It doesn't matter that lo already is configured with 127.0.0.1/8.  You
can still add specific /32s within the same prefix.

I understand that this behaviour was unexpected, but the acl
functionality of listen-on has some advantages too.  Makes it easier to
dynamically add or remove addresses.  Or sharing configs among servers
listening to different addresses, while still having the ability to
filter out unwanted addresses.


Bjørn
-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to