- 论坛徽章:
- 0
|
俺有个域名www.wydd.cc,ping不到这个域名的ip,也dig不到,但是可以dig +trace到
[root@bind]# cat /etc/resolv.conf
nameserver 127.0.0.1
root@bind]# ping www.wydd.cc
ping: unknown host www.wydd.cc
[root@bind]# dig www.wydd.cc
; <<>> DiG 9.5.1-P1 <<>> www.wydd.cc
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 14935
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.wydd.cc. IN A
;; Query time: 8 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Jun 20 13:51:00 2009
;; MSG SIZE rcvd: 29
[root@bind]# dig www.wydd.cc +trace
; <<>> DiG 9.5.1-P1 <<>> www.wydd.cc +trace
;; global options: printcmd
. 514393 IN NS M.ROOT-SERVERS.NET.
. 514393 IN NS F.ROOT-SERVERS.NET.
. 514393 IN NS B.ROOT-SERVERS.NET.
. 514393 IN NS G.ROOT-SERVERS.NET.
. 514393 IN NS K.ROOT-SERVERS.NET.
. 514393 IN NS H.ROOT-SERVERS.NET.
. 514393 IN NS E.ROOT-SERVERS.NET.
. 514393 IN NS D.ROOT-SERVERS.NET.
. 514393 IN NS J.ROOT-SERVERS.NET.
. 514393 IN NS L.ROOT-SERVERS.NET.
. 514393 IN NS A.ROOT-SERVERS.NET.
. 514393 IN NS C.ROOT-SERVERS.NET.
. 514393 IN NS I.ROOT-SERVERS.NET.
;; Received 500 bytes from 127.0.0.1#53(127.0.0.1) in 3 ms
cc. 172800 IN NS G5.NSTLD.COM.
cc. 172800 IN NS D5.NSTLD.COM.
cc. 172800 IN NS H5.NSTLD.COM.
cc. 172800 IN NS F5.NSTLD.COM.
cc. 172800 IN NS L5.NSTLD.COM.
cc. 172800 IN NS C5.NSTLD.COM.
cc. 172800 IN NS A5.NSTLD.COM.
;; Received 269 bytes from 192.33.4.12#53(C.ROOT-SERVERS.NET) in 222 ms
wydd.cc. 172800 IN NS 211.148.131.50.
wydd.cc. 172800 IN NS NS.XINNETDNS.COM.
;; Received 87 bytes from 192.42.93.34#53(G5.NSTLD.COM) in 179 ms
www.wydd.cc. 3600 IN A 202.173.231.38
;; Received 45 bytes from 202.10.71.56#53(NS.XINNETDNS.COM) in 48 ms
我把bind9.5开了debug是如下的信息:
socket 0xb74f6428: dispatch_recv: event 0xb59d50f8 -> task 0xb751ed70
socket 0xb74f6428: internal_recv: task 0xb751ed70 got event 0xb74f6490
socket 0xb74f6428 127.0.0.1#51297: packet received correctly
socket 0xb74f6428: processing cmsg 0xb74eb3c0
client 127.0.0.1#51297: UDP request
client 127.0.0.1#51297: using view '_default'
client 127.0.0.1#51297: request is not signed
client 127.0.0.1#51297: recursion available
client 127.0.0.1#51297: query
client 127.0.0.1#51297: ns_client_attach: ref = 1
client 127.0.0.1#51297: query (cache) 'www.wydd.cc/A/IN' approved
client 127.0.0.1#51297: replace
clientmgr @0xb74ee3b8: createclients
clientmgr @0xb74ee3b8: recycle
createfetch: www.wydd.cc A
fctx 0xb5990008(www.wydd.cc/A'): create
fctx 0xb5990008(www.wydd.cc/A'): join
fetch 0xb74f0198 (fctx 0xb5990008(www.wydd.cc/A)): created
client @0xb5c1a008: udprecv
socket 0xb74f6428: socket_recv: event 0xb5c1e0f8 -> task 0xb74f7688
fctx 0xb5990008(www.wydd.cc/A'): start
fctx 0xb5990008(www.wydd.cc/A'): try
fctx 0xb5990008(www.wydd.cc/A'): cancelqueries
fctx 0xb5990008(www.wydd.cc/A'): getaddresses
dns_adb_destroyfind on find 0xb5aeb008
fctx 0xb5990008(www.wydd.cc/A'): no addresses
fctx 0xb5990008(www.wydd.cc/A'): done
fctx 0xb5990008(www.wydd.cc/A'): stopeverything
fctx 0xb5990008(www.wydd.cc/A'): cancelqueries
fctx 0xb5990008(www.wydd.cc/A'): sendevents
fetch 0xb74f0198 (fctx 0xb5990008(www.wydd.cc/A)): destroyfetch
fctx 0xb5990008(www.wydd.cc/A'): shutdown
client 127.0.0.1#51297: error
client 127.0.0.1#51297: send
client 127.0.0.1#51297: sendto
client 127.0.0.1#51297: senddone
client 127.0.0.1#51297: next
client 127.0.0.1#51297: ns_client_detach: ref = 0
client 127.0.0.1#51297: endrequest
dispatch 0xb750c3f8: detach: refcount 2
fctx 0xb5990008(www.wydd.cc/A'): doshutdown
fctx 0xb5990008(www.wydd.cc/A'): stopeverything
fctx 0xb5990008(www.wydd.cc/A'): cancelqueries
fctx 0xb5990008(www.wydd.cc/A'): destroy
sockmgr 0xb74e8008: watcher got message -3 for socket 513
sockmgr 0xb74e8008: watcher got message -2 for socket -1
哪位帮忙看下是什么问题
谢谢 |
|