Casbay Knowledge Base

Search our articles or browse by category below

How-To: NSLookup (Windows)

Last updated: September 7, 2022
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
Previous: HOW TO: Change domain’s DNS
Next: Google DNS Unable to Resolve to Domain
Discover the perfect balance of performance and budget-friendly Dedicated Server plan !
Discover the perfect balance of performance and budget-friendly Dedicated Server plan !
High performance and low cost Dedicated Server plan 128GB from $185 – upgrade today!
High performance and cheap Dedicated Server plan 128GB from $185 – upgrade today!