Apache::GeoIP - Look up country by IP Address
Free monthly updates to the database are available from
This free database is similar to the database contained in IP::Country, as well as many paid databases. It uses ARIN, RIPE, APNIC, and LACNIC whois to obtain the IP->Country mappings.
For Win32 users, the GeoIP.dat database file is expected to reside in the /Program Files/GeoIP/ directory.
If you require greater accuracy, MaxMind offers a Premium database on a paid subscription basis.
A mailing list and cvs access for the GeoIP library are available from SourceForge; see http://sourceforge.net/projects/geoip/.
The look-up code for associating a country with an IP address is based on the GeoIP library and the Geo::IP Perl module, and is Copyright (c) 2002, T.J. Mather, firstname.lastname@example.org, New York, NY, USA. See http://www.maxmind.com/ for details. The mod_perl interface is Copyright (c) 2002, Randy Kobes <email@example.com>.
All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself.