CentOS 7.x Disabling IPv6 lookups in bind

From Notes_Wiki
Revision as of 16:36, 28 January 2019 by Saurabh (talk | contribs) (Created page with "<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 disab...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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



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