IP2CC(1) User Contributed Perl Documentation IP2CC(1)

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.

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

Nigel Wetters Gourlay <nwetters@cpan.org>

2023-05-20 perl v5.34.0