/etc/ppp/ip-up.d/bind9 is in bind9 1:9.11.3+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh -e
# Called when an interfaces comes up or down
# Written by LaMont Jones <lamont@debian.org>
# kick named as needed
# If /usr isn't mounted yet, silently bail.
if [ ! -d /usr/sbin ]; then
exit 0
fi
# if named is running, reconfig it.
rndc reconfig >/dev/null 2>&1 &
exit 0
|