主服务器:我们设定主服务器为ns1.zsl.comIP172.16.15.11

我们配置好IP,配置好yum源,并且将dns解析指向自己

1.安装bind

  yum install bind

2.使用rndc管理dns

  rndc-confgen > /dev/rndc.conf

  我们看一下cat /dev/rndc.conf