Casbay Knowledge Base

Search our articles or browse by category below

How-To: NSLookup (Windows)

Last modified: October 1, 2022
You are here:
Estimated reading time: 1 min

How-To: NSLookup (Windows)

Windows has a command-line tool for performing a DNS query and it is called “nslookup.

To perform a DNS query on a Windows computer, open a command prompt. The easiest way to do that is to go to Start->Run and type in “cmd” then click “OK.”

Note:  This is universal on all recent Windows versions.

Type in `nslookup .`

Enter the IP address or name of the site you wish to reach. For example, to lookup to www.casbay.com you would enter `nslookup www.casbay.com` and then press enter.

Copying data from the command prompt window slightly different than most other Windows interfaces and here is how:

  1. Right-click in the window to get the context menu.
  2. Select the “Mark” option, highlight the part of the window you want to copy.
  3. Press “Enter” to copy the selection to your clipboard.
  4. Paste the selected text somewhere else, such as in an email or document.
  5. When you finished, close the command-line window by typing `exit` and hitting Enter.

A manual DNS query can be useful in helping us to verify the name resolution system is working on your computer. Whether the issue is reaching all resources or specific resources, identifying how the client computer is handling this first crucial step which is translating a DNS name into an IP address. It can help to diagnose the problem.

Was this article helpful?
Dislike 0
Next: HOW TO: Change domain’s DNS