Reload BIND to listen on additional interface?

Mark Andrews marka at isc.org
Thu Jul 31 11:33:57 UTC 2014


In message <lrd90s$6fo$1 at ger.gmane.org>, Johannes Kastl writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi everyone,
> 
> in the quest to use a master behind a Router with changing IPs, I set
> up a VPN and told bind on both sides to listen on the additional VPN-IPs.
> 
> But, sometimes they are not available at bind startup or the VPN loses
> connection. So, when the VPN connection is ready again, I can let
> OpenVPN run a script. My idea was to use this script to tell bind,
> that it can now bind to the interface again.
> 
> Question now is, which (rndc) command does that? Does a rndc
> reconfig tell BIND to newly bind to the interfaces?
> 
> Thanks in advance.
> 
> Regards,
> Johannes

Use BIND 9.10. It uses the routing socket to detect interface coming
and going and will automatically rescan the list of interfaces and
rebuild the localhost and localnet acls.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list