This tutorial provides instructions for the installation of Dig on a Linux system. Dig (Domain Information Groper) is a command-line tool on Linux designed to execute DNS lookups. It interacts with name servers to retrieve and display the outcomes of these queries. The BIND name server commonly incorporates the Dig program as part of its DNS service package.
To install the utility package that includes dig separately, connect to your VPS through SSH and enter the following lines in the command line-
- For Ubuntu and Debian enter the following command-
apt-get install dnsutils
- For CentOS 7, enter the following command-
yum install bind-utils
- To check the version of the utility after installation, execute the following command-
This way, you can install Dig on Linux. Hope you liked our article. For the latest KBs, visit our KB section regularly. If you require extra help, get in touch with our support team, they are available 24/7.