ip2cc - Man Page

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>


2024-02-04 perl v5.38.2 User Contributed Perl Documentation