1、安装bind
yum install bind-9.11.4-16.P2.el7.x86_64.rpm -y
yum install bind-chroot-9.11.4-16.P2.el7.x86_64.rpm -y
yum install bind-utils-9.11.4-16.P2.el7.x86_64.rpm -y
service named-chroot start
2、修改named.conf配置
增加一个域名解析:在/etc/named.conf中增加一个域
3、在/etc/named.rfc1912.zones里面增加一个节点:
4、添加正向解析文件
cp -p named.localhost cmbdss-test01.jfunbox.com.zone