nslookup <IP> whois <IP> For domains, use: