geoiplookup(1)

geoiplookup1

Look up country using ip address or hostname

Usage

geoiplookup {[-d directory] [-f filename] [-v] <ipaddress | hostname>}

Overview

geoiplookup uses the GeoIP library and database to find the Country that an IP address or hostname originates from.

For example

geoiplookup 80.60.233.195

will find the Country that 80.60.233.195 originates from, in the following format:

NL, Netherlands

Options

-f

Specify a custom path to a single GeoIP datafile.

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

Releases

12 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1–4.0
  2. 5.0
  3. 6.0–7
  4. 8
  5. 9–Arch

-d since Debian 5.0 (Lenny); -f since Debian 5.0 (Lenny).

-l until Debian 5.0 (Lenny).

Author

Written by T.J. Mather

Reporting bugs

Report bugs to <[email protected]>

From geoip 1.6.12-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.