1GEOIPLOOKUP(1) General Commands Manual GEOIPLOOKUP(1)
2
3
4
6 geoiplookup - look up country using IP Address or hostname
7
9 geoiplookup [-d directory] [-f filename] [-v] <ipaddress|hostname>
10
12 geoiplookup uses the GeoIP library and database to find the Country
13 that an IP address or hostname originates from.
14
15 For example
16
17 geoiplookup 80.60.233.195
18
19 will find the Country that 80.60.233.195 originates from, in the fol‐
20 lowing format:
21
22 NL, Netherlands
23
25 -f Specify a custom path to a single GeoIP datafile.
26
27 -d Specify a custom directory containing GeoIP datafile(s). By
28 default geoiplookup looks in /usr/share/GeoIP
29
30 -v Lists the date and build number for the GeoIP datafile(s).
31
33 Written by T.J. Mather
34
36 Report bugs to <support@maxmind.com>
37
39 Copyright (C) 2016 MaxMind, Inc.
40
41 This is free software; see the source for copying conditions. There is
42 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
43 PURPOSE.
44
46 geoipupdate(1), nslookup(1).
47
48
49
504th Berkeley Distribution 2 Jan 2007 GEOIPLOOKUP(1)