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


#1

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

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