/etc/network/if-up.d/bind9 is in bind9 1:9.9.5.dfsg-3ubuntu0.19.
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 a new interface comes up
# 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 || true
exit 0
|