yum install -y bind bind-chroot bind-utils
/etc/named.conf
: BIND服务主配置文件/var/named/
: zone文件/var/named/chroot/etc/named.conf
: BIND服务主配置文件/var/named/chroot/var/named/
: zone文件cp -rv /usr/share/doc/bind-9.9.4/sample/etc/* /var/named/chroot/etc
cp -rv /usr/share/doc/bind-9.9.4/sample/var/* /var/named/chroot/var
/var/named/chroot/var/named
中创建该域的zone文件.named-checkconf /var/named/chroot/etc/named.conf
named-checkzone linuxcast.net linuxcast.net.zone
/var/named/slaves
目录中.