Just in case anyone is curious about our IP address location database:
Maxmind - Allocation of IP addresses by country
Flagfox uses the free GeoLite Country IP database encoded in a custom binary format.
Geotool uses the free GeoLite City IP database on its end.
We also have a full set of lists of all country names localized into all supported languages, thanks to BabelZilla.