I've tried installing dig on Debian, but the apt-get utility doesn't seem to know what it is.

Is it part of some larger set of packages? Where can I find this?

up vote 88 down vote accepted

On Ubuntu it's in dnsutils. It's the same in Debian.

Install it with:

apt-get install -y dnsutils

apt-file lets you search for files in packages even if they aren't installed.

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.