this is how you do it?
login as root
send this command at the shell prompt:
yum install bind-chroot
once you have updated, you will see something like this:
Updated: bind-chroot.i386 31:9.4.1-6.1.fc7
Dependency Updated: bind.i386 31:9.4.1-6.1.fc7 bind-libs.i386 31:9.4.1-6.1.fc7 bind-utils.i386 31:9.4.1-6.1.fc7 caching-nameserver.i386 31:9.4.1-6.1.fc7
Complete!
now send these commands:
chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 775 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/
cd /var/named/chroot/var/named/
ln -s ../../ chroot
make named start at bootup everytime your computer starts:
chkconfig --levels 235 named on
now start DNS server with jail chroot
/etc/init.d/named start