Re:Ask HN: Database with country names down to the city, etc.
by ratsbane on Monday February 01, 2010 @02:19PM
(#1093173)
Not exactly to your requirements but related: we use the MaxMind GeoLite city database to correlate IPs with lat/lon and city/country names. It's free (the GeoLite version; the pay version has a little more detail but doesn't cost very much) and simple to update and use.
http://www.maxmind.com/app/geolitecity