Syntax:
- nslookup <name> <server>
Where is the DNS hostname and is the hostname or IP address of the name server.
Example:
- nslookup www.yahoo.com 8.8.8.8
Gotchas:
- You may not be able to do this behind a corporate firewall. If you get DNS request timed out., try connecting to a hotspot and running the command again.