geoiplookup

IP lookup command line tools that use the GeoIP library

Install

All systems
curl cmd.cat/geoiplookup.sh
Debian Debian
apt-get install geoip-bin
Ubuntu
apt-get install geoip-bin
Arch Arch Linux
pacman -S GeoIP
image/svg+xml Kali Linux
apt-get install geoip-bin
Windows (WSL2)
sudo apt-get update sudo apt-get install geoip-bin
OS X
brew install GeoIP
Raspbian
apt-get install geoip-bin

geoip-bin

IP lookup command line tools that use the GeoIP library

GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database. This database simply contains IP blocks as keys, and countries as values and it should be more complete and accurate than using reverse DNS lookups. This package contains the command line utilities to resolve the IP numbers using the GeoIP library.

GeoIP

or hostname mapping