BIND and listening on interfaces

Phil Mayers p.mayers at
Fri Aug 1 16:06:01 UTC 2014

On 01/08/14 15:46, Reindl Harald wrote:

> if listen-on {;}; would work a lot of problems
> could go away - keep in mind that on modern systemd
> systems a service can bind to even before
> the network is started

Most people just use "rndc reconfig". In bind 9.10 the routing socket, 
on platforms that support it, will work instantly without being told.

As noted in the bug, the v4 socket API lacks support for setting UDP 
source IP on replies. So doing this requires platform-specific hacks.

They don't always work - FreeRADIUS has "udpfromto" code in it, and 
people used to report a lot of problems getting it to compile and work 

Binding separate sockets per IP is IMO just as reliable, and is well 
tested. If you weren't so opposed to "rndc", you could just call "rndc 
reconfig" in whatever network system/dispatch tool you have after IPs - 
or wait for bind 9.10.

This is a non-issue IMO.

More information about the bind-users mailing list