On 22/08/16 13:07, Tony Finch wrote:
Alternatively, maybe you could add something to the ExecStartPre in the
unit file to poll `ip addr show` until all the expected interface
addresses are present, so that named doesn't start until the rest of the
system has untangled its legs.
I've run into similar things. We have a listen-on, and named gets
started after the network. However, the IPv6 addresses go through the
"tentative" state for a few seconds and can't be listened on during that
phase.
Our local sysvinit script has this in it:
if [ -x /sbin/ip ]; then
# hold off for a few seconds if any
# IPv6 addresses are tentative / in DAD
for attempt in 1 2 3 4; do
/sbin/ip -6 addr | grep -q tentative
if [ $? -ne 0 ]; then
break
fi
sleep 2
done
fi
Yes, yes.... I know :o(
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users