error (network unreachable) resolving
[root@tiesk420 log]# vi messages
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/A/IN’: 2001:500:2d::d#53
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘ns.isc.afilias-nst.info/AAAA/IN’: 2001:500:2d::d#53
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘ns1.isc.ultradns.net/A/IN’: 2001:7fe::53#53
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘ns1.isc.ultradns.net/AAAA/IN’: 2001:7fe::53#53
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘ns2.isc.ultradns.net/A/IN’: 2610:a1:1014::e8#53
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘ns2.isc.ultradns.net/AAAA/IN’: 2610:a1:1014::e8#53
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘pdns196.ultradns.info/A/IN’: 2001:500:1c::1#53
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘pdns196.ultradns.info/AAAA/IN’: 2001:500:1c::1#53
Jun 23 04:08:58 joeunname named-sdb[1079]: error (network unreachable) resolving ‘ns1.isc.ultradns.net/A/IN’: 2610:a1:1014::e8#53
Jun 23 04:08:59 joeunname named-sdb[1079]: error (network unreachable) resolving ‘pdns196.ultradns.info/A/IN’: 2610:a1:1016::e8#53
Jun 23 04:08:59 joeunname named-sdb[1079]: error (network unreachable) resolving ‘pdns196.ultradns.info/AAAA/IN’: 2610:a1:1016::e8#53
Jun 23 04:08:59 joeunname named-sdb[1079]: error (network unreachable) resolving ‘pdns196.ultradns.biz/AAAA/IN’: 2001:503:7bbb:ffff:ffff:ffff:ffff:ff7e#53
error (network unreachable) resolving =>위의 오류는 IPv6 기반의 통신을 하지 못해서 루트 서버로의 접근을 못해서 발생하는것으로 IPv4로만 동작하도록 설정을 바꿔주면 됩니다.
/etc/named.conf 파일(chroot설정이 되어있다면 /var/named/chroot/etc/named.conf)의 다음의 설정을 주석처리 합니다.
/etc/sysconfig/named
OPTIONS=‘-4’ 추가
위의 설정은 IPv4환경으로만 동작하게 하는 옵션입니다. 반대로 -6로 설정할 경우 IPv6로만 동작합니다. 서버를 재구동하고 로그를 확인해 보면 스팸같이 쌓이던 로그가 더이상 쌓이지 않는것을 확인할 수 있습니다.
service named restart
[polldaddy rating=”7739789″]