如何安装nslookup、host、dig命令

Windows平台:

       下载bind for windows发行包“bind-9.6.3rc1.zip”,直接把解压C:\,打开命令提示符,切换到C:\bind-9.6.3rc1>“,输入host 163.com回车。

      如何安装nslookup、host、dig命令

        参考下载地址:http://www.jbxue.com/down/87.html

Linux平台:

   Fedora / Centos:

yum install bind-utils
  Ubuntu:
sudo apt-get install dnsutils
  Debian:
apt-get update
apt-get install dnsutils


    安装后位于 /usr/bin/nslookup  /usr/bin/dig   /usr/bin/host

    安装之后使用locatewhereis来查找安装目录。  例如:whereis nslookup;  whereis dig;

你可能感兴趣的:(bind-utils)