Disabling IPv6 Name Resolution in Bind 9.x

Submitted by Tom Thorp on Thursday, September 8, 2016 - 04:36
Modified on Friday, July 5, 2019 - 22:15
Bind 9.x
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:
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.
1) Filter AAAA option in Bind 9 (ISC Knowledgebase) -

About the author

Tom Thorp
Tom Thorp is an IT Consultant living in Miami on Queensland's Gold Coast. With over 30+ years working in the IT industry, Tom's experience is a broad canvas. The IT services Tom provides to his clients, includes :
Website development and hosting
Database Administration
Server Administration (Windows, Linux, Apple)
PABX Hosting and Administration
Helpdesk Support (end-user & technical).