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 18.104.22.168 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.