phanx
powered by Technology
-
nslookup 解析域名的一点发现
Posted on 11月 21st, 2008 No comments========phanx.com=========
Author: phanx
Updated: 2008-11-21
=========================C:Documents and SettingsAdministrator>nslookup bbs.scu.edu.cn
Server: 68.128.128.61.cq.cq.cta.net.cn
Address: 61.128.128.68Non-authoritative answer:
Name: bbs.scu.edu.cn.huawei.com1
Address: 219.153.42.248C:Documents and SettingsAdministrator>ping bbs.scu.edu.cnPinging bbs.scu.edu.cn [125.69.85.16] with 32 bytes of data:Reply from 125.69.85.16: bytes=32 time=8ms TTL=54
Reply from 125.69.85.16: bytes=32 time=8ms TTL=54
Reply from 125.69.85.16: bytes=32 time=8ms TTL=54
Reply from 125.69.85.16: bytes=32 time=8ms TTL=54Ping statistics for 125.69.85.16:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 8ms, Maximum = 8ms, Average = 8msC:Documents and SettingsAdministrator>用nslookup解析的时候为什么会多出一个 huawei.com1的后缀呢?原来nslookup解析域名的时候会自动把domain附加在输入的名字后面在nslookup中用set all检查参数> set all
Default Server: 68.128.128.61.cq.cq.cta.net.cn
Address: 61.128.128.68Set options:
nodebug
defname
search
recurse
nod2
novc
noignoretc
port=53
type=A
class=IN
timeout=2
retry=1
root=A.ROOT-SERVERS.NET.
domain=huawei.com1
MSxfr
IXFRversion=1
srchlist=huawei.com1>
原来附加了一个huawei.com1修改一下set nosearch然后再解析就对了> bbs.scu.edu.cn
Server: 68.128.128.61.cq.cq.cta.net.cn
Address: 61.128.128.68Non-authoritative answer:
Name: bbs.scu.edu.cn
Address: 125.69.85.16>回复一个~



最新评论