summaryrefslogtreecommitdiffstats
path: root/man/geoiplookup.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'man/geoiplookup.1.in')
-rw-r--r--man/geoiplookup.1.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/man/geoiplookup.1.in b/man/geoiplookup.1.in
new file mode 100644
index 0000000..010e58f
--- /dev/null
+++ b/man/geoiplookup.1.in
@@ -0,0 +1,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).