How to install dig on Centos6

Sometime we got following  Error  "dig: command not found"

ERROR :-
[root@amitmaheshwari.in ~]# dig 
-bash: dig: command not found


SOLUTION :- 
The dig command is a part of the BIND utilities so you need to install them. 
To install the BIND utilities, type the following:

[root@amitmaheshwari.in ~]# yum install bind-utils

[root@amitmaheshwari.in ~]# which dig

/usr/bin/dig


[root@cassiopeia ~]# dig A amitmaheshwari.in

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> A amitmaheshwari.in
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35853
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;amitmaheshwari.in.             IN      A

;; ANSWER SECTION:
amitmaheshwari.in.      12375   IN      A       66.7.207.80

;; Query time: 0 msec
;; SERVER: 10.0.0.30#53(10.0.0.30)
;; WHEN: Wed Aug 20 00:57:44 2014
;; MSG SIZE  rcvd: 51