ip2cc - lookup country from IP address or hostname
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 <firstname.lastname@example.org>