Steps to install: Installation of BIND 9.2.4 with geodns patch -------------------------------------------- This document explains how to install BIND the geodns patch. We will use /usr/local/src/ to unpack source code and /usr/local/bind as installation directory for BIND. 1) Download BIND 9.4.2 from http://www.isc.org/sw/bind/ 2) Download GeoIP C API from http://www.maxmind.com/app/c 3) Unpack both in /usr/local/src/ 4) Compile GeoIP and install in /usr/local/geoip/ 5) Download the city data http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz 6) Extract city data to /usr/local/share/GeoIP, and rename to GeoIP.dat cd /usr/local/src patch -p0 < bind-9.4.2-geodns-patch.diff cd bind-9.4.2 CFLAGS="-I/usr/local/geoip/include" LDFLAGS="-L/usr/local/geoip/lib -lGeoIP" ./configure --prefix=/usr/local/bind make && make install Make an init script, config files, etc, start named, and voila.