IP Lookup Skill
Look up information about IP addresses.
Get Your Public IP
curl -s ifconfig.me
IP Geolocation
curl -s "http://ip-api.com/json/{ip}?fields=status,country,regionName,city,isp,org,as,query" | python3 -m json.tool
DNS Lookup
dig -x {ip} +short # Reverse DNS
dig {hostname} +short # Forward DNS
Whois
whois {ip} | grep -E "^(NetName|OrgName|Country|City|CIDR)"
Guidelines
- ip-api.com is free for non-commercial use
- Never expose private/internal IPs publicly
- Geolocation accuracy varies (city-level)