GeoIP Lookups
Binary Talks | (0)
If you want to know the location of a server connected to the Internet, you need a tiny, useful tool called geoiplookup. In Debian or Ubuntu the installation is quite easy:
sudo aptitude install geoip-bin
After installation you're able to use geoiplookup from the command line:
user@server:~$ geoiplookup www.heise.de
GeoIP Country Edition: DE, Germany
But that'll only show you the country of the server's location. For more precise information MaxMind's LGPL version of their GeoIP database comes in handy. It's being updated at the beginning of each month and available via this link (approx. 30 MB).
Simply download the archive, gunzip it and move it to ...