CentOS 8 dig command not found
Linode
Linode Staff
I just deployed a server running CentOS 8, but the dig command seems to be missing. How do I install it?
1 Reply
jdutton
Linode Staff
After researching this for a minute, it looks like this is a fairly common issue with servers running CentOS 8. The dig command is part of the bind-utils
package and can be installed with the following command by a user with sudo privileges:
$ sudo yum install bind-utils
Note: If you're installing the package as root, you can leave out the sudo
Here's a great article from nixCraft detailing the missing package and the installation steps: CentOS 8 dig command not found – How to install dig on CentOS 8