bind-tools
1.1、bind-tools简介

bind-toolsThe ISC DNS tools

bind-tools官网:https://www.isc.org/bind

1.2、通过包管理器安装bind-tools
操作系统包管理器安装命令
Windowsscoopscoop install bind
WindowsChocolateychoco install -y bind-toolsonly
macOSHomeBrewbrew install bind
GNU/LinuxLinuxBrewbrew install bind
aptsudo apt-get install -y dnsutils
CentOSyumsudo yum install -y bind-utils
dnfsudo dnf install -y bind-utils
openSUSEzyppersudo zypper install -y bind-utils
Alpine Linuxapksudo apk add bind-tools

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm bind-tools
Gentoo LinuxPortagesudo emerge bind-tools
1.3、通过源码安装bind-tools 

step1、安装依赖

下载时cURL
解压时targzip
编译时POSIX shGNU CoreUtilsmakegccCPythonPLYPerlToolSetOpenSSLlibcap
运行时glibc ( libc.sold-linux-x86-64.so )

step2、使用curl命令下载bind-tools源码包 (

curl -LO https://downloads.isc.org/isc/bind9/9.14.4/bind-9.14.4.tar.gz

step3、使用tar解压bind-tools源码包

tar vxf bind-9.14.4.tar.gz

step4、进入bind-9.14.4目录,并查看它的内容

step5、配置、编译、安装

./configure && make && sudo make install
1.4、bind-tools中包含的命令