nslookup (全称 name server lookup)
nslookup 用于查询DNS的记录,查询域名解析是否正常,在网络故障时用来诊断网络问题
安装:
yum -y install bind-utils
才可以使用nslookup
nslookup www.baidu.com
[root@baimeidashu201 ~]# nslookup www.baidu.com
Server: 223.5.5.5
Address: 223.5.5.5#53
Non-authoritative answer:
www.baidu.com canonical name = www.a.shifen.com.
Name: www.a.shifen.com
Address: 110.242.68.4
Name: www.a.shifen.com
Address: 110.242.68.3
欢迎来撩 : 汇总all