nslookup 查询时指定 DNS 服务器
Linux DNS About 682 words格式
Windows
和Linux
通用。
nslookup domain_name [<DNS_SERVER>]
示例
nslookup baidu.com
输出
PS C:\> nslookup baidu.com
服务器: UnKnown
Address: 192.168.100.1
非权威应答:
名称: baidu.com
Addresses: 220.181.38.148
220.181.38.251
Windows
:指定谷歌域名服务器
PS C:\Users\thunk> nslookup baidu.com 8.8.8.8
服务器: dns.google
Address: 8.8.8.8
非权威应答:
名称: baidu.com
Addresses: 220.181.38.148
220.181.38.251
Linux
:指定谷歌域名服务器
$ nslookup baidu.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8:53
Non-authoritative answer:
*** Can't find baidu.com: No answer
Non-authoritative answer:
Name: baidu.com
Address: 220.181.38.148
Name: baidu.com
Address: 220.181.38.251
Views: 3,443 · Posted: 2022-06-22
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...