Running dns/bind910
within a chroot after r382109
dns/bind910
gained native chroot support in r382109. Those of us who used to store the BIND files in /var/named/etc/namedb
and ran BIND with /var/named
as the chroot environment, must do five things:
- Rename the
/var/named
directory to something else, like/var/Named
. This is to avoid upsettingmake -C /usr/src delete-old
and still retain the meaning of the directory’s name. - Rename the
/var/Named/etc/namedb
directory to/var/Named/usr/local/etc/namedb
. - Edit
/var/Named/usr/local/etc/namedb/named.conf
to reflect that the BIND files now resides in/usr/local/etc/namedb
, as seen from within the chroot environment. - Change the appropriate line in
/etc/rc.conf
to readnamed_chrootdir="/var/Named"
. - Restart BIND using
/usr/local/etc/rc.d/named restart
, or start BIND using/usr/local/etc/rc.d/named start
if the former fails.