mod_geoip2 is an Apache2 module that looks up the country code for the IP address making the request without using reverse DNS. WWW: http://www.maxmind.com/app/mod_geoip