Custom Search

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 also useful to check whether the DNS servers configured in Microsoft Windows work well. If the configured DNS server doesn’t work well, the webpage will not be displayed on your web browser since the domain names will not be translated to IP addresses successfully.

Let's start! Just key in nslookup in command prompt window, you will enter interactive mode with > symbol. It also shows the DNS server ( is being used to serve me in this case (different DNS IP address will be displayed in your command prompt). You can then enter the domain name which you want to check its IP address. For example, enter and press Enter key, it will be resolved to In another example, will be resolved to If the domain name can be resolved successfully, that means the configured DNS server works well on your computer.

nslookup domain name or URL

Don't feel surprise that if you see multiple IP addresses share same domain name. Those domain names are usually popular domain names, such as,,,, etc. Usually the main reason of having multiple IP addresses is to load balance the user access to those popular websites.


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, in this case you should try to resolve the domain name by configuring other DNS servers on your computer. If you are not sure which DNS servers to configure, feel free to use these free DNS servers from OpenDNS or Google to resolve domain names.

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


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

Overall nslookup is a useful command and you should spend some time to play with it.

Recommended Articles:

netsh winsock reset - Resetting Winsock Catalog and Solving Network Problem

Wireless Scanning Tool to Identify Interference – inSSIDer

How to Protect Facebook or Twitter from Firesheep Attack

Return to top!!

Enjoy this page? Here's another way to pay it forward...

Would you prefer to share this page with others by linking to it?

  1. Click on the HTML link code below.
  2. Copy and paste it, adding a note of your own, into your blog, a Web page, forums, a blog comment, your Facebook account, or anywhere that someone would find this page valuable.