2010
07.08

Did you know that it’s possible to do your own geoip lookups from the linux command line?

You need to install the geoip-bin package in Ubuntu/Debian’s APT system:

$ sudo apt-get install geoip-bin

Then after which, lookups can be done as simply as:

$ geoiplookup 8.8.8.8
GeoIP Country Edition: US, United States

Note that the lookups are based on the GeoLite Country database.  For more detailed geoip lookups you will need to buy the better databases.

Share and Enjoy:
  • Print
  • Twitter
  • Digg
  • del.icio.us
  • Facebook
  • DZone
  • LinkedIn
  • Ping.fm
  • Posterous
  • Slashdot
  • StumbleUpon

Related posts that you might be interested in...

No Comment.

Add Your Comment

Anti-Spam Protection by WP-SpamFree