使用bind9 的rndc 控制dns

来源:互联网 发布:网络直播违法 编辑:程序博客网 时间:2024/06/11 05:42

使用rndc-confgen生成rndc.conf之后,如下:

# Use with the following in named.conf, adjusting the allow list as needed:之后的内容复制到named.conf中,去掉注释,重启named -g,然后在另外一个终端测试rndc reload,成功。

原创粉丝点击