How do I install
dig (the DNS lookup tool)? I can't figure out what the package name is.
sudo apt-get install dnsutils
To find out which package a file is in you can do
sudo apt-cache search dig
Sometimes that works, but in this case it was useless. You can search for which package a specific file is in using the 'Search the contents of packages' search form here: