You are here

How To Use nslookup.exe

How to Use nslookup to Check Domain Name Information in Microsoft Windows

If you wish to know what the IP address is resolved from domain name, you can use nslookup command to find out. This command is useful to check whether the DNS servers set in Microsoft Windows work well. If DNS doesn’t work well, the webpage will not be displayed on your browser since the domain names will not be translated into IP addresses.

Let's start! Just key in nslookup in command prompt window, you will enter interactive mode with > symbol. It also shows the DNS server (202.188.0.133) is being used to serve you. You can then enter the domain name which you want to check its IP address. For example, enter www.cisco.com and press Enter key, it will be resolved to 198.133.219.25. In another example, www.dlink.com will be resolved to 64.7.210.132.

nslookup domain name or URL

Sometimes multiple IP addresses can share same domain name. Those domain names are usually popular domain names, such as www.yahoo.com, www.aol.com, www.microsoft.com, www.ebay.com, etc.

nslookup

If you enter invalid domain name, the Non-existent domain message will be shown.

nslookup - non-existent domain

If you receive DNS request timed out messages which are shown as below, that means the domain name is failed to be resolved at the time being. The DNS server might be down or not valid, try to resolve using other DNS servers.

nslookup - DNS request timed out

If you wish to check address translation by other DNS servers, such as your secondary DNS server, just enter this command server new-DNS-server-IP. I changed to DNS server 216.28.158.11.

nslookup

You can type help command to list down all available commands. At last, type exit if you wish to exit this interactive mode.

source: home-network-help

Forums: