欢迎光临
我们一直在努力

Disabling IPv6 Name Resolution

If you are running a Bind 9.x server, there may be times where you need to disable IPv6 name resolution through the name server. To do so, with sudo access, do the following steps.
1. Edit the /etc/sysconfig/named file, and insert the following:
OPTIONS="-4"
2. Edit the /etc/named.conf file, and add in the following statement in the ‘options’ section:
filter-aaaa-on-v4 yes;
Also, optionally add a comment ‘//’ at the start of the line
listen-on-v6 port 53 { ::1; };
3. Finally, restart the Bind service using the following command.
service named restart
If there are any error messages on startup, look at the /var/log/messages file to diagnose the issue.
https://kb.isc.org/docs/aa-00576
赞(0) 打赏

评论 抢沙发

评论前必须登录!

 

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏