Am 31.07.2014 um 13:24 schrieb Johannes Kastl:
> 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?

i am doing reloads of named with "killall -HUP named" just because i
disabled rndc completly for security reasons and configurations
are generated with own software only needs named to reload

pretty sure it will also force look for new interfaces or gone ones

[root@srv-rhsoft:~]$ tail named.log
#31-Jul-2014 13:30:05.016 general: automatic empty zone: D.F.IP6.ARPA
31-Jul-2014 13:30:05.016 general: automatic empty zone: 8.E.F.IP6.ARPA
31-Jul-2014 13:30:05.016 general: automatic empty zone: 9.E.F.IP6.ARPA
31-Jul-2014 13:30:05.016 general: automatic empty zone: A.E.F.IP6.ARPA
31-Jul-2014 13:30:05.016 general: automatic empty zone: B.E.F.IP6.ARPA
31-Jul-2014 13:30:05.016 general: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
31-Jul-2014 13:30:05.037 general: reloading configuration succeeded
31-Jul-2014 13:30:05.039 general: reloading zones succeeded
31-Jul-2014 13:30:05.057 general: all zones loaded
31-Jul-2014 13:30:05.057 general: running

[root@srv-rhsoft:~]$ killall -HUP named

[root@srv-rhsoft:~]$ tail named.log
31-Jul-2014 13:30:26.443 general: automatic empty zone: D.F.IP6.ARPA
31-Jul-2014 13:30:26.443 general: automatic empty zone: 8.E.F.IP6.ARPA
31-Jul-2014 13:30:26.443 general: automatic empty zone: 9.E.F.IP6.ARPA
31-Jul-2014 13:30:26.443 general: automatic empty zone: A.E.F.IP6.ARPA
31-Jul-2014 13:30:26.443 general: automatic empty zone: B.E.F.IP6.ARPA
31-Jul-2014 13:30:26.443 general: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
31-Jul-2014 13:30:26.446 general: reloading configuration succeeded
31-Jul-2014 13:30:26.447 general: reloading zones succeeded
31-Jul-2014 13:30:26.464 general: all zones loaded
31-Jul-2014 13:30:26.464 general: running





Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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

Reply via email to