Disabling IPv6 lookups in bind

From Notes_Wiki
Revision as of 12:34, 23 March 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Bind_DNS_server_configuration|Bind DNS</yambe:breadcrumb> =Disabling IPv6 lookups in bind= Just disabling bind to listen on IPv6 addresses does not prevents...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Bind_DNS_server_configuration|Bind DNS</yambe:breadcrumb>

Disabling IPv6 lookups in bind

Just disabling bind to listen on IPv6 addresses does not prevents it from querying for IPv6 addresses to remote hosts. To ensure that IPv6 is completely disabled use:

  1. Edit /etc/sysconfig/named and set
    OPTIONS="-4"
  2. Use 'service named restart'

Note that it is still good to disable bind on listening on IPv6 addresses by commenting

//listen-on-v6 port 53 { ::1; };