bind 9.0.1을 설치하고 설정을 했습니다.
/var/log/messages 에 보면 다음과 같이 나와 있습니다.
Jan 8 19:58:21 ns named[953]: starting BIND 9.0.1
Jan 8 19:58:21 ns named[955]: loading configuration from '/etc/named.conf'
Jan 8 19:58:22 ns named[955]: option 'statistics-file' is not yet implemented
Jan 8 19:58:22 ns named[955]: the default for the 'auth-nxdomain' option is now 'no'
Jan 8 19:58:22 ns modprobe: modprobe: Can't locate module net-pf-10
Jan 8 19:58:22 ns named[955]: no IPv6 interfaces found
Jan 8 19:58:22 ns named[955]: listening on IPv4 interface lo, 127.0.0.1#53
Jan 8 19:58:22 ns named[955]: listening on IPv4 interface eth0, xxx.xxx.xxx.140#53
Jan 8 19:58:22 ns named[955]: listening on IPv4 interface eth1, 172.31.0.1#53
Jan 8 19:58:22 ns named[955]: running
.
.
.
Jan 8 20:09:52 ns inetd[461]: auth/tcp: bind: Address already in use (→ 이건 왜 나오는지도 궁금합니다..
.) 그리고 웹브라우저(윈도우)에서 www.xxx.hs.kr 하고 ns.xxx.hs.kr하면 접속이 됩니다. 물론 telne
t과 ftp로도 www.xxx.hs.kr 이렇게 접속됩니다. 그런데 텔넷으로 접속해서 nslookup을 하면 다음
과 같이 나옵니다. [root@ns named]# nslookup ns.xxx.hs.kr ns.kornet.net
Server: ns.kornet.net
Address: 168.126.63.1
Non-authoritative answer:
Name: ns.xxx.hs.kr
Address: xxx.xxx.xxx.xxx
[root@ns named]# nslookup ns.kornet.net ns.xxx.hs.kr
xxx.xxx.xxx.xxx.in-addr.arpa
origin = ns.xxx.hs.kr
mail addr = root.xxx.hs.kr
serial = 2001010100
refresh = 210600 (2d10h30m)
retry = 1800 (30M)
expire = 1209600 (2W)
minimum ttl = 86400 (1D)
*** Can't find server name for address xxx.xxx.xxx.140: No information
*** Default servers are not available
(윈2000에서 같은 명령을 수행하면 아랫부분이 다음과 같습니다
*** Can't find server name for address xxx.xxx.xxx.140: No information
Server: UnKnown
Address: xxx.xxx.xxx.140
DNS request timed out.
timeout was 2 seconds.
Non-authoritative answer:
Name: ns.kornet.net
Address: 168.126.63.1)
왜 이렇죠...? 이렇게 나오는게 정상인가요?
그리고 네임서버의 ip가 xxx.xxx.xxx.140입니다.(할당받은 ip의 첫번째 것. 마지막이 라우터)
그럼 named.conf에 140.xxx.xxx.xxx.in-addr.arpa 이렇게 해야 합니까, 아님 xxx.xxx.xxx.in-addr.arpa 이렇게
해야 하는지요?(설정은 전자로 해 놓았음) bind를 오늘 첨 설치하고 설정했는데, 골치아픈군
요... (근데 재미는 있네요... ^^) 잘 아시는 분 답변 좀 부탁드립니다.