summaryrefslogtreecommitdiffstats
path: root/man/geoiplookup.1.in
blob: 010e58f5e5f0efde1086964a702925742d54375c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.TH GEOIPLOOKUP 1 "2 Jan 2007"
.UC 4
.SH NAME
geoiplookup \- look up country using IP Address or hostname
.SH SYNOPSIS
geoiplookup [\-d directory] [\-f filename] [\-v] <ipaddress|hostname>
.SH DESCRIPTION
geoiplookup uses the GeoIP library and database to find the Country
that an IP address or hostname originates from.
.PP
For example
.PP
.I geoiplookup 80.60.233.195
.PP
will find the Country that 80.60.233.195 originates from, in the following format:
.PP
.I NL, Netherlands
.PP
.SH OPTIONS
.IP "\-f"
Specify a custom path to a single GeoIP datafile.
.IP "\-d"
Specify a custom directory containing GeoIP datafile(s).  By default geoiplookup looks in DATADIR
.IP "\-v"
Lists the date and build number for the GeoIP datafile(s).
.SH AUTHOR
Written by T.J. Mather
.SH "REPORTING BUGS"
Report bugs to <support@maxmind.com>
.SH 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.
.SH "SEE ALSO"
geoipupdate(1), nslookup(1).