linux下查找命令所需要的安装包
使用命令yum provides */nslookup ,就可以找到提供nslookup命令的软件包了。
其中主要的安装包文件bind-utils
安装 yum install -y bind-utils
linux下使用nslookup
nslookup -qt=类型 域名 DNS服务器
[root@localhost ~]#
[root@localhost ~]# nslookup -qt=mx qq.com 114.114.114.114
*** Invalid option: qt=mx
Server: 114.114.114.114
Address: 114.114.114.114#53
Non-authoritative answer:
Name: qq.com
Address: 183.3.226.35
Name: qq.com
Address: 61.129.7.47
Name: qq.com
Address: 123.151.137.18up -t
yum install apr-util
https://centos.pkgs.org/7/centos-x86_64/apr-util-1.5.2-6.el7.x86_64.rpm.html