This guide explains how to install Dig on Linux. A Linux command-line tool called Dig (Domain Information Groper) performs DNS lookups by contacting name servers and showing you the results. The DNS service package that is frequently deployed with BIND name servers includes a program called Dig.
By connecting to your VPS via SSH and entering the following lines in the command line, you can install the utility package that includes dig individually.
- For Debian and Ubuntu:
apt-get install dnsutils - For CentOS 7:
yum install bind-utils - You can check the version once the installation is done by running the following command:
dig –v
We hope you liked our article. For more information on Linux and web hosting, do visit our KB section regularly. In addition, for any help, get in touch with our support team.
After installing tools, ensure your system is secure. Learn How to Change User Password in Linux