ISC Dig and Host

Dig and host from BIND are extremely useful but ISC no longer supplies Windoze builds so use Chocolatey to install the bind-toolsonly package.

choco install bind-toolsonly

If you use the host command and notice that the search suffixes aren't working:

  1. Create the file “C:\Program Files\ISC BIND 9\etc\resolv.conf”
  2. Put the line search example.com example.org in your new resolv.conf file.

If you want shorter answers from dig create a .digrc file with +noall +answer in it. Dig uses the HOME environment variable to find the .digrc file so do, set HOME=FOLDER_WITH_DIGRC.