IP::Country is a tool for fast lookup of country codes from IP addresses. Finding out the country of a client using only the IP address can be difficult. Looking up the domain name associated with that address can provide some help, but many IP address are not reverse mapped to any useful domain, and the most common domain (.com) offers no help when looking for country. This module comes bundled with a database of countries where various IP addresses have been assigned. Although the country of assignment will probably be the country associated with a large ISP rather than the client herself, this is probably good enough for most log analysis applications, and under test has proved to be as accurate as reverse-DNS and WHOIS lookup.
|Tags||Software Development Internationalization Internet Log Analysis Libraries Perl Modules|
Release Notes: The database was updated.
Release Notes: The country database was updated.
Release Notes: The database was updated to the Regional Internet Registries' February 2007 release. Minor bugs were fixed.
Release Notes: A database update to the Regional Internet Registries' April 6 2006 release. Minor bugfixes.
Release Notes: This release amends LACNIC acceptable use, removes the dependency on Geography::Countries (but not from ip2cc), removes the MaxMind tests, and updates the database.