dig

安装

1
2
3
apt-get install dnsutils

yum install bind-utils

查询

1
dig auth.vipthink.cn @114.114.114.114

nslookup

1
2
nslookup baidu.com 114.114.114.114
nslookup baidu.com