Centos 5 var/named/chroot/var/named setting

# For CentOS 5.5 x86_64 rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY* yum -y reinstall fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp gcc gcc-c++ yum -y reinstall bind bind-dev bind-chroot 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 cp /usr/share/doc/bind-9.3.6/sample/var/named/named.local /var/named/chroot/var/named/named.local cp /usr/share/doc/bind-9.3.6/sample/var/named/named.root /var/named/chroot/var/named/named.root touch /var/named/chroot/etc/named.conf chkconfig --levels 235 named on /etc/init.d/named start
Tags