Named has chrooted itself with an update


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » DNS

Named has chrooted itself with an updateLast Modified: Sep 4, 2008, 2:46 pm
To check if named is chrooted, type:

ps -ax | grep named

If you see any mention of /var/named/chroot in the named command, then named has been chrooted.

To un-chroot named back to normal, do the following:

1) move the zone files from /var/named/chroot/var/named to just /var/named

cd /var/named/chroot/var/named
mv -f * /var/named


2) move the config file and rndc.key from /var/named/chroot/etc/named.conf to just /etc/named.conf

cd /var/named/chroot/etc
mv -f named.conf /etc/named.conf
mv -f rndc.key /etc/rndc.key


3) comment out the ROOTDIR setting in /etc/sysconfig/named

4) restart named

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST