报错日志:
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘./DNSKEY/IN’: 2001:503:ba3e::2:30#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘./NS/IN’: 2001:503:ba3e::2:30#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘dlv.isc.org/DNSKEY/IN’: 2001:500:48::1#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘dlv.isc.org/DNSKEY/IN’: 2001:4f8:0:2::19#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/A/IN’: 2001:500:2f::f#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/AAAA/IN’: 2001:500:2f::f#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/A/IN’: 2001:500:1::803f:235#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/AAAA/IN’: 2001:500:1::803f:235#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/A/IN’: 2001:503:c27::2:30#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/AAAA/IN’: 2001:503:c27::2:30#53
Oct 23 11:39:03 server named[1585]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/A/IN’: 2001:500:1a::1#53
解决办法:
vi /etc/default/bind9OPTIONS="-4 -u bind"
或者
Edit /etc/sysconfig/named and set:
OPTIONS=”-4″
Then restart bind:
service named restart