.TH GEOIPLOOKUP 1 "2 Jan 2007" .UC 4 .SH NAME geoiplookup - look up country using IP Address or hostname .SH SYNOPSIS geoiplookup [-lv] .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 -l 80.60.233.195 .PP will find the Country that 80.60.233.195 originates from, in long format: .PP .I 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 "-l" By default, geoiplookup returns the ISO 3166 country code. By specifying this option, geoiplookup prints the long format, namely the full country name. .IP "-v" Lists the GeoIP database date and build number. .SH AUTHOR Written by T.J. Mather .SH "REPORTING BUGS" Report bugs to .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).