2009年12月9日星期三
windows nslookup 的问题
C:\Documents and Settings\Administrator>nslookup
*** Can't find server name for address 192.168.51.2: Non-existent domain
*** Default servers are not available
Default Server: UnKnown
Address: 192.168.51.2
> server 202.96.128.86(指定广东电信dns服务器)
Default Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com
Addresses: 119.147.15.17, 119.147.74.18, 119.147.15.13(解析正确)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.71.87(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.53.10(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com
Addresses: 119.147.15.13, 119.147.15.17, 119.147.74.18(解析正确)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.53.10(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.53.10(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.53.10(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com
Addresses: 119.147.15.17, 119.147.74.18, 119.147.15.13
> server 208.67.222.222(opendns)
Default Server: resolver1.opendns.com
Address: 208.67.222.222
> www.qq.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 208.67.219.132(错误结果)
> www.qq.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.qq.com.localdomain
Address: 208.67.219.132
> www.qq.com.
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.qq.com
Addresses: 60.28.14.158, 60.28.14.159(解析正确)
> www.qq.com.(后面加“.”表示域名根)
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.qq.com
Addresses: 60.28.14.159, 60.28.14.158(解析正确)
windows下的nslookup使用时遇到一些问题,用特定域名服务器对www.qq.com进行解析时,程序会自动在待解析域名后添加.localdomain,变成www.qq.com.localdomain,解析结果就混乱了,用广东电信DNS服务器解析时,解析结果为广东电信DNS劫持的IP地址。用Opendns服务器208.67.222.222解析时也存在同样问题。要确保每次正确解析,需要在代解析域名后添加表示域名根的“.”,即www.qq.com.。详见举例。
*** Can't find server name for address 192.168.51.2: Non-existent domain
*** Default servers are not available
Default Server: UnKnown
Address: 192.168.51.2
> server 202.96.128.86(指定广东电信dns服务器)
Default Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com
Addresses: 119.147.15.17, 119.147.74.18, 119.147.15.13(解析正确)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.71.87(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.53.10(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com
Addresses: 119.147.15.13, 119.147.15.17, 119.147.74.18(解析正确)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.53.10(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.53.10(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 59.37.53.10(电信dns封堵ip)
> www.qq.com
Server: cache-a.guangzhou.gd.cn
Address: 202.96.128.86
Non-authoritative answer:
Name: www.qq.com
Addresses: 119.147.15.17, 119.147.74.18, 119.147.15.13
> server 208.67.222.222(opendns)
Default Server: resolver1.opendns.com
Address: 208.67.222.222
> www.qq.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.qq.com.localdomain(加.localdomain)
Address: 208.67.219.132(错误结果)
> www.qq.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.qq.com.localdomain
Address: 208.67.219.132
> www.qq.com.
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.qq.com
Addresses: 60.28.14.158, 60.28.14.159(解析正确)
> www.qq.com.(后面加“.”表示域名根)
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.qq.com
Addresses: 60.28.14.159, 60.28.14.158(解析正确)
windows下的nslookup使用时遇到一些问题,用特定域名服务器对www.qq.com进行解析时,程序会自动在待解析域名后添加.localdomain,变成www.qq.com.localdomain,解析结果就混乱了,用广东电信DNS服务器解析时,解析结果为广东电信DNS劫持的IP地址。用Opendns服务器208.67.222.222解析时也存在同样问题。要确保每次正确解析,需要在代解析域名后添加表示域名根的“.”,即www.qq.com.。详见举例。
订阅 博文 [Atom]