How Do You Install dig and nslookup on a CentOS/RHEL/Fedora Server?

Problem scenario
You are using CentOS/RHEL/Fedora and want to troubleshoot DNS functionality. You are getting "command not found" errors when you try to use the dig or nslookup utilities. What should you do?

Solution
Run this command:

sudo yum -y install bind-utils

Leave a comment

Your email address will not be published. Required fields are marked *