mod_geoip is an Apache 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