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. WWW: http://man.gnu.org.ua/manpage/?1+whoseip