FREE IP to country database
Maintaining a database of IP to country mappings is daunting at best if one depends on static data as assignments change very often. We maintain a dynamic database of IP to country assignment from all major registries and update the database at least one a week (mostly one every 24 hours or less) to ensure data is always current. (Database is available as a tar.gz archive in CSV format)