这篇文档仍在不断完善中
dig 工具安装
dig 工具是 bind9 工具集的其中一个工具,根据不同环境有不同的安装方法:
#Windows
下载 BIND 9 安装包:https://www.isc.org/download/
BIND 9 最新版已经停止对 Windows 的打包,如需在 Windows 平台使用请寻找旧版本或自编译。
Linux (Ubuntu/Debian):
Bash
Linux (CentOS/RHEL):
Bash
macOS:
方法 1:
下载 BIND 9 安装包:https://www.isc.org/download/
**方法 2:**使用 Homebrew
Bash