38 lines
1.0 KiB
Groff
38 lines
1.0 KiB
Groff
.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 © 2006 MaxMind LLC
|
|
|
|
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).
|