Categories
SysOps

How to install DNS lookup utility

Install DNS lookup utility to perform basic DNS lookups.

dig is provided by the bind9-dnsutils package (and dnsutils transitional package) on Debian and Ubuntu operating systems.

debian$ dpkg-query -S "*/dig"
bind9-dnsutils: /usr/bin/dig

dig is provided by the dnsutils package on DietPi operating system.

dietpi@DietPi:~$ dpkg-query -S "*/dig"
dnsutils: /usr/bin/dig