e Learning

Yum Install Dig Command Not Working On CentOS 7

Question

How To Install Dig  On CentOS 7 ? I Tried with yum install dig, But Only Get Following Error Message.

No package dig available.

Answer

yum install dig On CentOS Not Going to work. In CentOS 7 dig Command is Provided By bind-utils package. So What You Need to Do is, Install bind-utils package Using Yum Command.

yum install bind-utils

After You Installed bind-utils, Dig Command Will Be Available To Use on Your  CentOS 7 Server. Also This Same Method uses to Install dig on Following RedHat Linux Based Distributions.