A simple CLI program to look up an IP address
Make sure you have cargo installed, then run cargo install whatip
whatip
will look up an IP address and return informations about it.
$ whatip 1.1.1.1
IP: 1.1.1.1
Country: Australia (AU)
Region: Queensland (QLD)
City: South Brisbane
Zip code: 4101
Latitude: -27.4766
Longitude: 153.0166
Timezone: Australia/Brisbane
ISP: Cloudflare, Inc
Organization: APNIC and Cloudflare DNS Resolver project
ASN: AS13335 Cloudflare, Inc.
ASN Name: CLOUDFLARENET
Hostname: one.one.one.one