DNS 解析 nslookup

[root@centos7 /]# nslookup
> wwww.baidu.com  #这是输入的域名
Server: 10.0.0.160   
Address: 10.0.0.160#53

Non-authoritative answer:  # 非权威的
wwww.baidu.com canonical name = ps_other.a.shifen.com.
Name: ps_other.a.shifen.com
Address: 39.156.66.10
>

 

想要用权威的地址的话,用server  106.11.141.111 这是个权威的dns 地址

> server 106.11.141.111
Default server: 106.11.141.111
Address: 106.11.141.111#53
> www.baidu.com
Server: 106.11.141.111
Address: 106.11.141.111#53

** server can't find www.baidu.com: NXDOMAIN
>exit 退出

posted @ 2022-03-02 15:47  是阿帅不是阿衰  阅读(132)  评论(0编辑  收藏  举报