Chris Schuld's Blog

personal musings on the composition of software

Written By: Chris Schuld Friday, November 14th, 2008

If you are missing the dig command it means you are missing a package called bind-utils.  To install this package use yum to install bind utils:

yum install bind-utils

Or if you do not have access to yum, maybe from a hosted VPS solution you can grab the RPM packages (this is 100% assuming you are CentOS):

rpm -i http://mirror.centos.org/centos/5/os/i386/CentOS/bind-utils-9.3.4-6.P1.el5.i386.rpm

Or maybe you want to install the entire bind/named system:

rpm -i http://mirror.centos.org/centos/5/os/i386/CentOS/bind-9.3.4-6.P1.el5.i386.rpm
rpm -i http://mirror.centos.org/centos/5/os/i386/CentOS/bind-chroot-9.3.4-6.P1.el5.i386.rpm
rpm -i http://mirror.centos.org/centos/5/os/i386/CentOS/bind-libs-9.3.4-6.P1.el5.i386.rpm
rpm -i http://mirror.centos.org/centos/5/os/i386/CentOS/caching-nameserver-9.3.4-6.P1.el5.i386.rpm
rpm -i http://mirror.centos.org/centos/5/os/i386/CentOS/bind-utils-9.3.4-6.P1.el5.i386.rpm
Categories: CentOS5

One Response to " How to install “dig”: -bash: /usr/bin/dig: No such file or directory "

  1. Dean says:

    Thanks, exactly as you described on a VPS I didn’t have Dig, painfull.

    Confirm this works on Fedora Core12 as well.

    Dean.

Leave a Reply

About Chris

Chris Schuld

Thank you for visiting my website. I use this site for a myriad of things: maintaining software I have open sourced, connecting with my readers and friends and documenting all of this little things "I wished I would have written down." You can read more about me or contact me.


thanks for visiting... happy coding

Recent Comments