关于DNS配置的测试( testing your dns config )

访问量: 1258

DNS 的速度直接关系到网站的打开速度. 

这些日子我发现自己的域名( siwei.me ) 打开的速度比较慢,有时候还打不开. 公司负责的一个项目也出现了同样的问题.  后来发现是国内无法访问 godaddy 的域名服务器造成的.   (参考: http://www.dnsgua.com/)

所以DNS配置后,检查是否生效就很重要. 

比如,我今天的siwei.me 的 dns route 是: (来这里: http://www.simpledns.com/lookup-dg.aspx )

Trace DNS Delegation

Tracing DNS delegation for "siwei.me":

Loading root server list (static data):
-> a.root-servers.net (198.41.0.4)
-> b.root-servers.net (192.228.79.201)
-> c.root-servers.net (192.33.4.12)
-> d.root-servers.net (128.8.10.90)
-> e.root-servers.net (192.203.230.10)
-> f.root-servers.net (192.5.5.241)
-> g.root-servers.net (192.112.36.4)
-> h.root-servers.net (128.63.2.53)
-> i.root-servers.net (192.36.148.17)
-> j.root-servers.net (192.58.128.30)
-> k.root-servers.net (193.0.14.129)
-> l.root-servers.net (199.7.83.42)
-> m.root-servers.net (202.12.27.33)
Sending request to "j.root-servers.net" (192.58.128.30)
Received referral response - DNS servers for "me":
-> a2.me.afilias-nst.info (199.249.119.1)
-> d0.cctld.afilias-nst.org (199.254.62.1)
-> ns.nic.me (89.188.44.44)
-> b0.cctld.afilias-nst.org (199.254.60.1)
-> c0.cctld.afilias-nst.info (199.254.61.1)
-> a0.cctld.afilias-nst.info (199.254.59.1)
-> b2.me.afilias-nst.org (199.249.127.1)
-> ns2.nic.me (89.188.44.88)
Sending request to "c0.cctld.afilias-nst.info" (199.254.61.1)
Received referral response - DNS servers for "siwei.me":
-> ns55.domaincontrol.com (no IP address)
-> ns56.domaincontrol.com (no IP address)
Attempting to resolve DNS server name "ns55.domaincontrol.com"  (details not logged)
Resolved DNS server name "ns55.domaincontrol.com" to IP address 216.69.185.28
Sending request to "ns55.domaincontrol.com" (216.69.185.28)
Received authoritative (AA) response:
-> Answer: A-record for siwei.me = 106.186.19.250
-> Authority: NS-record for siwei.me = ns56.domaincontrol.com
-> Authority: NS-record for siwei.me = ns55.domaincontrol.com

可以看到, siwei.me 的最终 dns server是 godaddy 提供的 .

再看一下: weixin.pe 的:

Trace DNS Delegation

Tracing DNS delegation for "weixin.pe":

Loading root server list (static data):
-> a.root-servers.net (198.41.0.4)
-> b.root-servers.net (192.228.79.201)
-> c.root-servers.net (192.33.4.12)
-> d.root-servers.net (128.8.10.90)
-> e.root-servers.net (192.203.230.10)
-> f.root-servers.net (192.5.5.241)
-> g.root-servers.net (192.112.36.4)
-> h.root-servers.net (128.63.2.53)
-> i.root-servers.net (192.36.148.17)
-> j.root-servers.net (192.58.128.30)
-> k.root-servers.net (193.0.14.129)
-> l.root-servers.net (199.7.83.42)
-> m.root-servers.net (202.12.27.33)
Sending request to "d.root-servers.net" (128.8.10.90)
Timeout waiting for response
Sending request to "a.root-servers.net" (198.41.0.4)
Received referral response - DNS servers for "pe":
-> quipu.rcp.net.pe (200.1.176.4)
-> pch.rcp.pe (204.61.216.85)
-> pe1.dnsnode.net (194.146.106.82)
-> sns-pb.isc.org (192.5.4.1)
Sending request to "pe1.dnsnode.net" (194.146.106.82)
Received referral response - DNS servers for "weixin.pe":
-> f1g1ns2.dnspod.net (no IP address)
-> f1g1ns1.dnspod.net (no IP address)
Attempting to resolve DNS server name "f1g1ns2.dnspod.net"  (details not logged)
Resolved DNS server name "f1g1ns2.dnspod.net" to IP addresses:
-> 112.90.143.29
-> 122.225.217.191
-> 180.153.162.150
-> 182.140.167.188
Sending request to "f1g1ns2.dnspod.net" (182.140.167.188)
Received authoritative (AA) response:
-> Answer: A-record for weixin.pe = 106.187.102.120
-> Authority: NS-record for weixin.pe = f1g1ns1.dnspod.net
-> Authority: NS-record for weixin.pe = f1g1ns2.dnspod.net

可以看出 它用的是 dnspod的, 已经生效了.

值得一提的是,昨天在godaddy上做了修改,等了一天没生效。把改动删掉,重新弄一下,20分钟左右就生效了。

订阅/RSS Feed

Subscribe

分类/category