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.

-- 
ciao,
Marco


Reply via email to