fix “dig: command not found” on debian 9


A default debian 9 installation doesn’t have the dig command available:

dig +short example.com

You’ll get an error:

bash: dig: command not found

The solution is simple:

sudo apt install dnsutils

And it’s done!

dig +short example.com
93.184.216.34

Leave comment

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