yum install bind.x86_64 bind-chroot.x86_64 bind-utils.x86_64 nscd.x86_64 -y
vi /etc/named.conf
vi /etc/named.rfc1912.zones
cd /var/named/
cp named.localhost han.com.zone
vi han.com.zone
vi han.com
named-checkconf /etc/named.conf
named-checkzone han.com /var/named/han.com
chown root:named han.com.zone
chown root:named han.com
systemctl restart named
客户端改dns 测试