After obtaining a record from a whois server, the NetGeo Perl scripts parse the whois record and extract location information and the date of last update. The NetGeo parser attempts to extract the city, state (or province, district, etc.), and country from the text of the whois record. For US addresses the parser also extracts the zip code, if possible. If the parser is unable to parse an address it attempts to find an area code or international phone code in the contact section; the phone code is mapped to a country and then the parser attempts to parse the address again, using the hint provided by the phone code. The parser also guesses the country from email addresses with 2-letter TLDs found in the contact section.
The NetGeo database contains tables for mapping location names (city, state, or country) or US zip codes to latitude/longitude values. These tables are used to map address components found by the NetGeo parser to latitude/longitude, then the city, state, country, latitude and longitude are stored with the target IP address or AS in the NetGeo database. Phone numbers or email addresses or any other data from the contact section are not stored in the NetGeo database.
Development of this tool was funded by NSF under ANI-9996248.
An abstract was submitted to INET 2000, you can take a look at it at http://www.caida.org/publications/papers/2000/inet_netgeo/
NetGeo technology has been licensed to Ixia, who markets a geographic location product called IxMapping (Discontinued). Ixia's IxMapping services is designed to assist Internet content providers, e-commerce firms, ISPs, and others to track the geographic location of Internet users, destination servers, and provider hardware.
- commercial: NetAcuity
- free online query: 20 lookups/day
- commercial: GeoIP Country, GeoIP City
- free downloadable data with open source API: GeoLite Country, GeoLite City
- free online query: 25 lookups/day
- Software 77: IP to Country
IP Address Lookup
- free downloadable data
- Hostip.info is a community-based project to geolocate IP addresses, making the database freely available (see below) but it needs you to put in your city to make it work. It only takes 10 seconds, and you'll get a warm fuzzy feeling of 'doing the right thing' :-)
- free online query
- Quova (commercial)
- CountryHawk (commercial)
- ActiveTarget (commercial)
- Java IP (InetAddress) Locator (free lookup library with database)
- IPAddressGuide.com: free online geolocation; unsure about underlying database
Dots IP Address Validation
- free online lookups (10/day)
- Jgsoft IP Address Geolocation (commercial w/free limited online lookups)
- geoPlugin (free)