GEOIPLOOKUP(1)
π GEOIPLOOKUP π
okay bestie, welcome to geoiplookup(1) β it's a General Commands Manual page and it's literally here to tell you which country an IP address or hostname is from. iconic behavior fr fr. π¦
β¨ NAME β¨
geoiplookup β look up country using IP Address or hostname π
πΈ SYNOPSIS πΈ
geoiplookup [-d directory] [-f filename] [-v] <ipaddress|hostname>
π DESCRIPTION π
so geoiplookup uses the GeoIP library and the GeoIP database to figure out which Country an IP address or hostname originates from. that's it, that's the whole job, and it eats every time. π
for example:
geoiplookup 80.60.233.195
this will find the Country that 80.60.233.195 originates from, and it spits it back in the following format:
NL, Netherlands
like. the country code, comma, the country name. no notes. β¨
π OPTIONS π
-fβ Specify a custom path to a single GeoIP datafile. (one file, bestie, just the one π)-dβ Specify a custom directory containing GeoIP datafile(s). By defaultgeoiplookuplooks in/usr/share/GeoIPπ-vβ Lists the date and build number for the GeoIP datafile(s). it's giving receipts, we love to see it π―
π«Ά AUTHOR π«Ά
Written by T.J. Mather
π REPORTING BUGS π
found a bug? not the vibe, but okay β Report bugs to <support@maxmind.com>
π COPYRIGHT π
Copyright (C) 2016 MaxMind, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. β οΈ like fr fr, zero warranty, don't come for them, they said it in all caps and everything π
π SEE ALSO π
and that's the whole page bestie, you ate that π§β¨
4th Berkeley Distribution Β· 2 Jan 2007 β mwah, go look up some countries ππ
π¦ where this page comes from
- alpine 3.22: geoip-doc 1.6.12-r6 Β· LGPL-2.1-or-later
- alpine 3.23: geoip-doc 1.6.12-r6 Β· LGPL-2.1-or-later
- alpine 3.24: geoip-doc 1.6.12-r6 Β· LGPL-2.1-or-later
- arch rolling: geoip 1.6.12-3 Β· GPL
- debian bookworm: geoip-bin 1.6.12-10 Β· LGPL-2.1-or-later
- debian trixie: geoip-bin 1.6.12-11.2~deb13u1 Β· LGPL-2.1-or-later
- fedora 43: GeoIP 1.6.12-21.fc43 Β· LGPL-2.1-or-later
- fedora 43: GeoIP 1.6.12-21.fc43 Β· LGPL-2.1-or-later
- fedora 44: GeoIP 1.6.12-23.fc44 Β· LGPL-2.1-or-later
- fedora 44: GeoIP 1.6.12-23.fc44 Β· LGPL-2.1-or-later
- ubuntu jammy: geoip-bin 1.6.12-8 Β· LGPL-2.1-or-later
- ubuntu noble: geoip-bin 1.6.12-11.1build1 Β· LGPL-2.1-or-later
- ubuntu questing: geoip-bin 1.6.12-11.1build1
- ubuntu resolute: geoip-bin 1.6.12-11.1build2 Β· LGPL-2.1-or-later
- ubuntu stonking: geoip-bin 1.6.12-13 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms