打开一个命令行窗口
我来查一下Microsoft的名称服务器(DNS)信息(这个命令不光是查DNS,还可以查到....呵呵自己试试就知道了)。下面是我的操作的所有反回信息及简单注解!
C:\>nslookup
Default Server: ns.gslzptt.net.cn 这行是为你的机子做域名解析DNS服务器
Address: 202.100.64.68 这当然是DNS服务器的IP地址了
> microsoft.com 这时输入要查询的域名,不要带www
Server: ns.gslzptt.net.cn
Address: 202.100.64.68
Non-authoritative answer:
Name: microsoft.com
Addresses: 207.46.250.119, 207.46.130.108 这个是我当时查询时微软所用的集群服务器所用的地址
> set type=ns 现在我们把查询类型改为只查询DNS服务器
> microsoft.com
Server: ns.gslzptt.net.cn
Address: 202.100.64.68
Non-authoritative answer: 下面是查得的微软DNS服务的信息(五个DNS服务器,晕)
microsoft.com nameserver = ns2.msft.net
microsoft.com nameserver = ns3.msft.net
microsoft.com nameserver = ns4.msft.net
microsoft.com nameserver = ns5.msft.net
microsoft.com nameserver = ns1.msft.net
ns1.msft.net internet address = 207.46.245.230
ns2.msft.net internet address = 64.4.25.30
ns3.msft.net internet address = 213.199.144.151
ns4.msft.net internet address = 207.46.66.75
ns5.msft.net internet address = 207.46.138.20
> server 207.46.138.20 这行是修改我们现在用的DNS服务器地址,你有可能发现我改成微软的了,呵呵要获取他的信息当然要找最权威的了
Default Server: ns5.msft.net
Address: 207.46.138.20
> set type=all 现在把查询类型改为查询所有
> microsoft.com 在次输入域名,下面出来的就是所有关于这个域名及服务器的信息了(不要问我下面都是些什么,看不懂说明你学的还不够!)
Server: ns5.msft.net
Address: 207.46.138.20
microsoft.com internet address = 207.46.250.119
microsoft.com internet address = 207.46.130.108
microsoft.com nameserver = ns4.msft.net
microsoft.com nameserver = ns5.msft.net
microsoft.com nameserver = ns1.msft.net
microsoft.com nameserver = ns2.msft.net
microsoft.com nameserver = ns3.msft.net
microsoft.com
primary name server = dns.cp.msft.net
responsible mail addr = msnhst.microsoft.com
serial = 2005042201
refresh = 300 (5 mins)
retry = 600 (10 mins)
expire = 2419200 (28 days)
default TTL = 3600 (1 hour)
microsoft.com MX preference = 10, mail exchanger = maila.microsoft.com
microsoft.com MX preference = 10, mail exchanger = mailb.microsoft.com
microsoft.com MX preference = 10, mail exchanger = mailc.microsoft.com
microsoft.com text =
"v=spf1 mx redirect=_spf.microsoft.com"
ns4.msft.net internet address = 207.46.66.75
ns5.msft.net internet address = 207.46.138.20
ns1.msft.net internet address = 207.46.245.230
ns2.msft.net internet address = 64.4.25.30
ns3.msft.net internet address = 213.199.144.151
maila.microsoft.com internet address = 131.107.3.125
maila.microsoft.com internet address = 131.107.3.124
mailb.microsoft.com internet address = 207.46.121.51
mailb.microsoft.com internet address = 131.107.3.123
mailc.microsoft.com internet address = 207.46.121.53
mailc.microsoft.com internet address = 207.46.121.52
>exit 查询完毕退出
nslookup是Windows XP自的工具软件,它一般是用来做网络调试的,用途还有很多,有兴趣的话可以自己去试试
|