Sometimes you may get an error while installing GeoDNS  or related packages,

Error :

/usr/local/bind/etc/named.conf:25: undefined ACL 'country_US'
the geo dns does not patch

checking whether the C compiler works... configure: error: cannot run C compiled programs
config.log =>  error while loading shared libraries: libGeoIP


Open a file add the lib path in it,
# vim  /etc/


shortest way is execute below command for append a line to that file
#  echo "/usr/local/geoip/lib/" >> /etc/

Finally, install gd library package,
#  yum install gd