GEOIPLOOKUP(1)

πŸ“¦
version 1.6.12 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 default geoiplookup looks 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 (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 🌈

geoipupdate(1), nslookup(1).


and that's the whole page bestie, you ate that 🧚✨

4th Berkeley Distribution Β· 2 Jan 2007 β€” mwah, go look up some countries πŸ’œπŸŽ€