欢迎各位兄弟 发布技术文章
这里的技术是共享的
使用nslookup命令时,报错:
“-bash: nslookup :command not found” 命令dig,host命令也是如此:
-bash: dig :command not found
-bash: host:command not found
原因是默认系统并没有安装此命令,大多vps使用不了这些命令也是这个原因。默认集成在bind-utils工具包里。
解决办法:安装bind-utils包
#yum -y instsall bind-utils
来自 http://www.xshell.net/linux/dig_nslookup_host_bind-utils.html