Fix “dig: command not found” in Debian OS

Sometimes I find that some Debian OS installations don’t have the dig command available:

dig +short
-bash: dig: command not found

The solution is to install the dnsutils package. For example:

apt-get install dnsutils

Leave a Reply

Your email address will not be published. Required fields are marked *