What is difference between nslookup and dig?

HeePok Lee wind at bora.net
Tue Jan 11 02:35:03 UTC 2000


Hi all!!!
I have a name server.
By the way, when I use nslookup, it's OK.
But when I use dig command, it can not resolve.
Is there any different processing of two resolving methods.
Could you help me?
Thank you!

When I use dig....
[root webhost]# dig @210.220.16.8 www.yahoo.com a

; <<>> DiG 8.2 <<>> @210.220.16.8 www.yahoo.com a
; (1 server found)
;; res options: init recurs defnam dnsrch
;; res_nsend to server 210.220.16.8: Connection timed out

And when I use nslookup
[root webhost]# nslookup
Default Server:  ns.dacom.co.kr
Address:  164.124.101.2

> server 210.220.16.8
Default Server:  [210.220.16.8]
Address:  210.220.16.8

> www.yahoo.com.
Server:  [210.220.16.8]
Address:  210.220.16.8

Non-authoritative answer:
Name:    www.yahoo.com
Addresses:  204.71.200.74, 204.71.200.75, 204.71.200.68, 204.71.202.160
          204.71.200.67








==========================
데이콤
인터넷 추진본부 보라넷 운용팀
이희복
TEL : +82 2 2220-7419
FAX : +82 2 2220-7429




More information about the bind-users mailing list