I have OpenVPN AS started as an rc.d script. I want Bind9 to bind to a virtual network interface that OpenVPN sets up.
However only after the script terminates some virtual devices names
as0t1. Meanwhile, Bind9 (DNS server) is started and it can't bind to those interfaces since they don't exist at the time.
Changing LSB dependencies and Sxx numbers using update-rc.d didn't help, since the openvpn script finishes before actually bringing up the interfaces.
It seems that
/etc/if-up.d/bind9 exists exactly for this purpose, but apparently it does not run when the virtual network interfaces are started.