nslookup, dig 及 host 這三個指令是 DNS 查詢工具, 對 DNS 除錯很實用, 原因是系統沒有安裝以上工具的套件, 執行以上指令會出現 Command Not Found:
nslookup :command not found
dig :command not found
host:command not found
只要安裝相關的套件包即可解決問題, RHEL 及 CentOS 安裝 bind-utils; Debian 及 Ubuntu 安裝 dnsutils:
RHEL / CentOS
# yum install bind-utils
Debian / Ubuntu
$ sudo apt-get install dnsutils
DiG GUI – dig命令网页接口,挖掘DNS的秘密。
https://www.diggui.com/