CentOS 7.x Disabling IPv6 lookups in bind
From Notes_Wiki
<yambe:breadcrumb self="Disabling IPv6 lookups in bind">CentOS_7.x_DNS_configuration|DNS configuration</yambe:breadcrumb>
CentOS 7.x Disabling IPv6 lookups in bind
To disable IPv6 lookups in bind use following steps:
- Edit '/etc/named.conf' and set
- filter-aaaa-on-v4 yes;
- Disable bind from listening on IPv6 interfaces by commenting following
- #listen-on-v6 port 53 { ::1; };
- in /etc/named.conf file
- Edit /etc/sysconfig/named and set
- OPTIONS="-4"
- In case you use vim to edit the file, then do not worry about red coloring of the file
- Finally restart bind by using:
- systemctl restart named
<yambe:breadcrumb self="Disabling IPv6 lookups in bind">CentOS_7.x_DNS_configuration|DNS configuration</yambe:breadcrumb>