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.
评论前必须登录!
注册