How to Install dig on CentOS 7 and 8?

How to Install dig on CentOS 7 and 8?

Are you missing your favorite dig tool on CentOS or RHEL 7 and 8?

When you run dig, you will get command not found error.

[[email protected] geekflare-trends]# dig -bash: dig: command not found [[email protected] geekflare-trends]#

Dig it handy to perform DNS lookup and investigate DNS related issues, right from the terminal. But for some reason, it doesn’t exist on the latest version of CentOS or RHEL.

The good news is, there is a way to get it installed. Run the following.

yum -y install bind-utils

If you are on CentOS 8 then you may also use DNF.

dnf -y install bind-utils

Not only dig but bind-utils also install other essential utilities such as nslookup, host, nsupdate, etc.

Happy digging!

NEWEST POSTS

Our trusted sources

We only publish news from well-known cybercrime magazines via RSS. You will find here everything about hackers & cybercrime. Also you can visit the direct sources from us.

Just click on one of the buttons.

PROTECT YOURSELF

Check out our Guidebook page.  And read everything about it.  Also how to protect yourself from hacker attacks.  An all in one thing.