CentOS 7.x Disabling IPv6 lookups in bind

From Notes_Wiki
Revision as of 17:17, 28 January 2019 by Saurabh (talk | contribs)

<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:

  1. Edit '/etc/named.conf' and set
    filter-aaaa-on-v4 yes;
  2. Disable bind from listening on IPv6 interfaces by commenting following
    #listen-on-v6 port 53 { ::1; };
    in /etc/named.conf file
  3. 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
  4. Finally restart bind by using:
    systemctl restart named


Related youtube video



<yambe:breadcrumb self="Disabling IPv6 lookups in bind">CentOS_7.x_DNS_configuration|DNS configuration</yambe:breadcrumb>