由于某种原因,我无法查询特定域。虽然dig
可以正常工作,但实际上nslookup
却不行。
home1:/# dig +trace www.capital.gr
; <<>> DiG 9.7.3 <<>> +trace www.capital.gr
;; global options: +cmd
. 514903 IN NS h.root-servers.net.
. 514903 IN NS a.root-servers.net.
. 514903 IN NS m.root-servers.net.
. 514903 IN NS j.root-servers.net.
. 514903 IN NS i.root-servers.net.
. 514903 IN NS e.root-servers.net.
. 514903 IN NS k.root-servers.net.
. 514903 IN NS l.root-servers.net.
. 514903 IN NS g.root-servers.net.
. 514903 IN NS c.root-servers.net.
. 514903 IN NS f.root-servers.net.
. 514903 IN NS b.root-servers.net.
. 514903 IN NS d.root-servers.net.
;; Received 228 bytes from 127.0.0.1#53(127.0.0.1) in 0 ms
gr. 172800 IN NS gr-m.ics.forth.gr.
gr. 172800 IN NS estia.ics.forth.gr.
gr. 172800 IN NS gr-us.ics.forth.gr.
gr. 172800 IN NS grdns.ics.forth.gr.
gr. 172800 IN NS gr-aix.ics.forth.gr.
gr. 172800 IN NS grdns-at.ics.forth.gr.
gr. 172800 IN NS grdns-br.ics.forth.gr.
gr. 172800 IN NS grdns-de.denic.de.
;; Received 461 bytes from 128.63.2.53#53(h.root-servers.net) in 135 ms
capital.gr. 10800 IN NS ns0.internet.gr.
capital.gr. 10800 IN NS ns1.internet.gr.
;; Received 109 bytes from 199.4.28.219#53(gr-us.ics.forth.gr) in 201 ms
www.capital.gr. 86400 IN CNAME capital.atoll.gr.
;; Received 60 bytes from 62.1.1.62#53(ns0.internet.gr) in 2 ms
以上有效!
home1:/# nslookup www.capital.gr
;; connection timed out; no servers could be reached
以上方法无效!
无论如何,为什么我会面临来自同一主机的这种不同行为?
答案1
删除命令后问题解决:
查询源端口53;