How to Install Dig on Linux

February 6, 2023 / Servers, Hosting & Email

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.

  1. For Debian and Ubuntu:
    apt-get install dnsutils
  2. For CentOS 7:
    yum install bind-utils
  3. 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.

 

Spread the love