Press "Enter" to skip to content

remove IPv6 from bind (named) at startup

To stop /var/log/messages from filling up with annoying dns errors the look like the following:


Jan 3 13:52:03 dns named[24933]: error (network unreachable) resolving 'greyfuzz.com/DS/IN': 2001:503:a83e::2:30#53
Jan 3 13:52:03 dns named[24933]: error (network unreachable) resolving 'greyfuzz.com/DS/IN': 2001:503:231d::2:30#53

Provided you are really not using IPv6 yet (you may need to reconsider this shortly)….  add the following line to your /etc/sysconfig/named file

OPTIONS="-4"

Restart BIND/named.

service named restart   (RH/CentOS)