How to Install Dig on Linux

February 6, 2024 / Servers, Hosting & Email

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-

  1. For Ubuntu and Debian enter the following command-
    apt-get install dnsutils
  2. For CentOS 7, enter the following command-
    yum install bind-utils
  3. To check the version of the utility after installation, execute the following command-
    dig –v

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.

Spread the love