

Sample Output > DiG 9.11.3-1ubuntu1.9-Ubuntu > The command displays a host of information such as the version of the dig command utility, the DNS server, and its corresponding IP address. # dig -vĬheck dig Version in Arch Linux Using the dig commandĭig command can be used to query a domain name and retrieve information as shown: # dig To check the version of dig installed, run. # dig -vĬheck dig Version in Debian and Ubuntu Installing dig & nslookup on ArchLinuxįor ArchLinux, the command for installing dig and nslookup will be. # apt install dnsutilsĪgain, to verify the installation, run the command. On Debian and any of its derivatives including Debian, the installation is done using the apt command.


# dig -vĬheck Dig Command Version Installing dig & nslookup on Debian / Ubuntu Upon successful installation, verify the version using the command below. On Red Hat Linux /CentOS, install dig and nslookup using the dnf command.
