Другая команда:
apt-file search /usr/bin/dig
Вы должны установить apt-file и обновить ее заранее:
sudo apt-get install apt-file sudo apt-file update