1 2 3 4 5
whoseip returns information about IP addresses: country code and network they belong to. It is part of dnstools, a set of utilities for DNS management and related tasks.