使用nslookup命令查询NS服务器和SOA记录
2010/11/01 18:44
未分类
C:Documents and Settingsadmin>nslookup
Default Server: resolver1.opendns.com
Address: 208.67.222.222
> set type=ns //首先查询NS记录
> baidu.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
baidu.com nameserver = ns3.baidu.com
baidu.com nameserver = ns4.baidu.com
baidu.com nameserver = dns.baidu.com
baidu.com nameserver = ns2.baidu.com
> set type=soa //接着查询SOA记录
> baidu.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
baidu.com
primary name server = dns.baidu.com
responsible mail addr = sa.baidu.com
serial = 2008042301
refresh = 300 (5 mins)
retry = 300 (5 mins)
expire = 2592000 (30 days)
default TTL = 7200 (2 hours)
>> set type=any //查询任意记录
> baidu.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
baidu.com MX preference = 10, mail exchanger = mx1.baidu.com
baidu.com internet address = 220.181.38.84
baidu.com internet address = 202.108.22.46
baidu.com nameserver = ns4.baidu.com
baidu.com nameserver = dns.baidu.com
baidu.com nameserver = ns2.baidu.com
baidu.com nameserver = ns3.baidu.com
PS:也有一些网站提供在线查询服务,比如intodns.com和lbase.net等
支持。一下啊,
帮你补充一个。
还有ipv6:set q=aaaa
mx记录:set q=mx