CentOS 8 dig command not found - How to install dig on CentOS 8

Originally published at: https://www.cyberciti.biz/faq/centos-8-dig-command-not-found-how-to-install-dig-on-centos-8/

I deployed minimal version of CentOS 8 in the cloud server. However, I am unable to find the on my newly created CentOS 8 Linux server. It says ‘-bash: dig: command not found’ I tried yum install dig, but it failed too. How do I install dig command on CentOS 8 Linux using the command line?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki