[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

BIND 9 chroot

If I haven't missed anything, it's trivial:

mkdir /var/lib/named/
cd /var/lib/named/
mkdir -p var/cache/bind/
chown named:named var/cache/bind/
mkdir etc/
cp /etc/bind/* etc/

And then start named with -u nobody -t /var/lib/named/.

Actually, I'm going to use mount --bind to remount /var/cache/bind/ and
/etc/bind/ in the jail so everything will be transparent.


Reply to: