CentOS或者Redhat安装nslookup

CentOS或者Redhat安装nslookup。

 

如果你的系统没有安装nslookup或者dig,那么你执行命令nslookup出错;

[root@localhost ~]# nslookup
-bash: /usr/bin/nslookup: No such file or directory
[root@localhost ~]#

 

安装的方法记住不是 yum install nslookup 或者是 yum install dig,否则会告诉你 找不到对应的包。正确的方法是如下:

[root@localhost ~]# yum install bind-utils

版权所有,禁止转载. 如需转载,请先征得博主的同意,并且表明文章出处,否则按侵权处理.

    分享到:

Leave a Reply

Your email address will not be published. Required fields are marked *