Das Programm "dig" findet sich unter Debian im Paket "dnsutils". Die Installation erfolgt also mit
# apt-get install dnsutils