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
dig but bind-utils also install other essential utilities such as nslookup, host, nsupdate, etc.
- Tagged in:
More great readings on Sysadmin
SQL Server Management Studio (SSMS): Everything to Know in 2022Satish Shethi on June 16, 2022
Looking For Traceroute on RHEL 8? Try TracepathAbhishek Nair on June 14, 2022
6 Best Switch Port Monitoring ToolsDurga Prasad Acharya on June 12, 2022
Windows 10/11 Random Shutdown: How to Find the CauseHitesh Sant on May 30, 2022
7 Best Server Configuration Monitoring and Auditing ToolsTalha Khalid on May 28, 2022
8 Best FTP Server Software for Windows for Secure TransferSatish Shethi on May 24, 2022
Join Geekflare Newsletter
Every week we share trending articles and tools in our newsletter. More than 10,000 people enjoy reading, and you will love it too.