It seems weird to talk about how to use nslookup tool on Windows. Almost every sys admin has used nslookup. I just want to mention some options in nslookup since all I have done so far is to type nslookup in a command prompt, then type a hostname or an IP. I used to change my DNS IP in network connection in case I need to query from another DNS server, and as I was looking for a tool to do that without changing the IP in network connection, I got my answer with nslookup /?
To query from a DNS server, we can either
nslookup <hostname> <DNS server IP>
Ex: nslookup google.com 8.8.8.8
or for interactive mode
nslookup - <DNS server IP>
Ex: nslookup - 8.8.8.8
No comments:
Post a Comment