Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GEOIP-LOOKUP(1)	      User Contributed Perl Documentation      GEOIP-LOOKUP(1)

NAME
       geoip-lookup - lookup country for IP address or hostname

SYNOPSIS
	geoip-lookup [-l] <ipaddress|hostname>

DESCRIPTION
       The geoip-lookup	program	will return the	country	for the	IP address or
       hostname	given as the first command line	argument.  It queries the
       GeoIP Country database in "/usr/local/share/GeoIP/GeoIP.dat".

       By default it prints the	ISO 3166 country code.	Use the	"-l" option to
       print the country name.

EXAMPLE
       Lookup up country for IP	address	24.24.24.24

	# geoip-lookup 24.24.24.24
	United States

AUTHOR
       T.J. Mather <tjmather@maxmind.com>

perl v5.24.1			  2016-01-26		       GEOIP-LOOKUP(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=geoip-lookup&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help