ip2cc man page

ip2cc — lookup country from IP address or hostname


ip2cc [host-to-find]


Ip2cc is a program to lookup countries of IP addresses. Ip2cc has two modes: interactive and non-interactive. Interactive mode allows the user to query more than one hostname. Non-interactive mode is used to print just the country for a single host.


Interactive mode is entered when no arguments are given.

Non-interactive mode is used when the name or Internet address of the host to be looked up is given as the first argument.

See Also

IP::Country - the fast database used by this script.


Nigel Wetters Gourlay <nwetters@cpan.org>


2016-10-01 perl v5.24.0 User Contributed Perl Documentation