DNS 를 설치했는데, ping 반응이 너무 느려요.
글쓴이: techneer / 작성시간: 수, 2008/04/16 - 4:35오후
내부 용도로 DNS 서버를 설치해서 사용중입니다. (bind 패키지)
IP 로 ping 을 때리는 경우엔 바로바로 응답이 오는데,
[root@storage ~]# ping 192.168.0.11 PING 192.168.0.11 (192.168.0.11) 56(84) bytes of data. 64 bytes from 192.168.0.11: icmp_seq=1 ttl=64 time=0.131 ms 64 bytes from 192.168.0.11: icmp_seq=2 ttl=64 time=0.148 ms
도메인을 주고 ping 을 때리면, 10초 정도 딜레이가 생깁니다.
[root@storage ~]# ping blade01.xxx.com PING blade01.xxx.com (192.168.0.11) 56(84) bytes of data. <span>이부분에서 딜레이 발생!!</span> 64 bytes from 192.168.0.11: icmp_seq=1 ttl=64 time=0.130 ms 64 bytes from 192.168.0.11: icmp_seq=2 ttl=64 time=0.138 ms 64 bytes from 192.168.0.11: icmp_seq=3 ttl=64 time=0.135 ms
DNS 서버가 느려서 그런거라 생각할 수도 있겠지만,
재밌는 거는.. nslookup 이나 dig 을 했을 때는 바로바로 반응이 옵니다.
이런 경우엔 어떤 문제일까요?
참고로 dns 설정파일 올려봅니다.
named.conf
options { listen-on port 53 { 127.0.0.1; 192.168.0.200; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; query-source port 53; query-source-v6 port 53; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; view localhost_resolver { include "/etc/named.rfc1912.zones"; };
named.rfc1912.zones
zone "." IN { type hint; file "named.ca"; }; zone "xxx.com" IN { type master; file "xxx.com.zone"; allow-update { none; }; };
Forums:
댓글 달기