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.