geoiplookup – look up country using IP Address or hostname

commandline session

$nslookup beautifulwork.org
Server:		192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
Name:	beautifulwork.org
Address: 80.79.116.205

$geoiplookup 80.79.116.205
GeoIP Country Edition: EE, Estonia
$nslookup www.trueangle.org
Server:		192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
www.trueangle.org	canonical name = trueangle.org.
Name:	trueangle.org
Address: 80.79.116.205

$nslookup www.gnu.org
Server:		192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
www.gnu.org	canonical name = wildebeest.gnu.org.
Name:	wildebeest.gnu.org
Address: 208.118.235.148

$geoiplookup 208.118.235.148
GeoIP Country Edition: US, United States
$nslookup www.jeffrin.in
;; connection timed out; no servers could be reached

$