linux -bash: dig: command not found

    文章来源:万象互联 更新时间:2015-10-15 13:43:05
分享:

使用dig命令时,报错:

[root@localhost scripts]# dig hulian.top
-bash: dig: command not found

原因是默认系统并没有安装此命令,大多服务器使用不了这些命令也是这个原因。默认集成在bind-utils工具包里。

解决办法:安装bind-utils包

[root@localhost scripts]# yum -y install bind-utils

版权说明:本站原创文章,由万象互联SEO优化发表.
本文地址:https://www.hulian.top/zixun/post/7993.html
在线咨询
  • 在线时间
  • 8:00-21:00