DNS域名解析命令 —— nslookup
阿新 • • 發佈:2019-07-21
命令nslookup
-
名稱: name server lookup
-
用途: 查詢域名的DNS資訊
-
語法:
]# nslookup [選項] [域名]
-
模式: 互動式、非互動式
-
互動式選項:
-
例項:
-
互動式:
-
非互動式:
-
查詢域名
]# nslookup aliyun.com Server: 192.168.199.2 Address: 192.168.199.2#53 Non-authoritative answer: Name: aliyun.com Address: 106.11.248.144 Name: aliyun.com Address: 140.205.60.46 Name: aliyun.com Address: 106.11.248.146 Name: aliyun.com Address: 106.11.62.15 Name: aliyun.com Address: 106.11.249.99 Name: aliyun.com Address: 106.11.95.37 Name: aliyun.com Address: 140.205.135.3 Name: aliyun.com Address: 106.11.61.69 Name: aliyun.com Address: 106.11.248.100 Name: aliyun.com Address: 106.11.248.38 Name: aliyun.com Address: 106.11.248.82
-
查詢主機域名
]# nslookup www.aliyun.com Server: 192.168.199.2 Address: 192.168.199.2#53 Non-authoritative answer: www.aliyun.com canonical name = www-jp-de-intl-adns.aliyun.com. www-jp-de-intl-adns.aliyun.com canonical name = www-jp-de-intl-adns.aliyun.com.gds.alibabadns.com. www-jp-de-intl-adns.aliyun.com.gds.alibabadns.com canonical name = sh.wagbridge.aliyun.aliyun.com. sh.wagbridge.aliyun.aliyun.com canonical name = aliyun-adns.aliyun.com. aliyun-adns.aliyun.com canonical name = aliyun-adns.aliyun.com.gds.alibabadns.com. Name: aliyun-adns.aliyun.com.gds.alibabadns.com Address: 106.11.62.15
-
-