Centos7上构建named-chroot服务器
安装
yum -y install bind bind-chroot bind-utils
设置
- 设置/etc/named.conf
listen-on port 53 {127.0.0.1};
改为
listen-on port 53 {any;};
allow-query {localhost;};
改为
allow-query {any;};
添加
forwad only;
forwarders{
223.5.5.5;
223 …