![]() |
![]()
| ![]() |
![]()
NAMEgeoip-lookup - lookup country for IP address or hostname SYNOPSISgeoip-lookup [-l] <ipaddress|hostname> DESCRIPTIONThe 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. EXAMPLELookup up country for IP address 24.24.24.24 # geoip-lookup 24.24.24.24 United States AUTHORT.J. Mather <tjmather@maxmind.com>
|