网络排查

参考博客:http://www.cnblogs.com/Security-Darren/p/4700387.html

1、nslookup 安装
直接yum 安装没有找到
[root@b12 ~]# yum install nslookup
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile

  • base: mirrors.aliyun.com
  • epel: mirrors.aliyun.com
  • extras: mirrors.aliyun.com
  • updates: mirrors.aliyun.com
    No package nslookup available.
    Error: Nothing to do
    [root@b12 ~]#

2、查询nslookup 在哪个套件里面
[root@b12 ~]# yum provides nslookup

3、根据上面提示,在" */nslookup" , " *bin/nslookup" 里找

4、[root@b12 ~]# yum install bind-utils 安装成功

原文地址:https://www.cnblogs.com/fengmeng1030/p/8615508.html