在/etc/bind/目錄下的named.conf.options
vi /etc/bind/named.conf.options
在最下方添加:
recursion no; allow-recursion { none; };
重啟服務(wù)
service bind9 restart