CentOS 8 dig command not found

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

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


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct