Skip to content

TechRepublic

  • Top Products
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • Accounting
  • CRM
  • Academy
Resources
  • TechRepublic Premium
  • TechRepublic Academy
  • Newsletters
  • Resource Library
  • Forums
  • Sponsored
Go Premium
Popular Topics
  • Top Products
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • Accounting
  • CRM
  • Academy
  • Project Management
  • Innovation
  • Cheat Sheets
  • Big Data
  • Tech Jobs
View All Topics
Go Premium
Developer

Nslookup screenshots: Troubleshooting DNS problems

By carareynolds August 28, 2006, 3:39 AM PDT

Image
1
of 8

nslookup.jpg
nslookup.jpg
Nslookup screenshots: Troubleshooting DNS problems

Starting nslookup

Starting nslookup

Nslookup is a DNS lookup and troubleshooting command-line tool included with Windows 2000 and Windows XP. In this The Right Tool for the Job article, Joshua Hoskins explains how to troubleshoot a variety of DNS problems with this extremely useful yet often overlooked tool. View a demonstration of the nslookup tool in this screenshot gallery.

Nslookup screenshots: Troubleshooting DNS problems

Basic nslookup

Basic nslookup

This is a basic nslookup command. Enter the command nslookup followed by the domain or site whose IP address you wish to identify.

Nslookup screenshots: Troubleshooting DNS problems

nslookup interactive mode

nslookup interactive mode

To enter the interactive mode of nslookup, type in the nslookup command with no options. While in interactive mode you have many more options available to you. To quit interactive mode, type exit on a line by itself and press enter.

Nslookup screenshots: Troubleshooting DNS problems

nslookup help

nslookup help

To see the many options for nslookup, view the help display. Remember, you can display the help screen only while in interactive mode.

Nslookup screenshots: Troubleshooting DNS problems

nslookup use specific dns server

nslookup use specific dns server

You may choose to use a DNS server other than your primary DNS server. To do this, type nslookup, followed by the name of the domain you wish to query, and then the name or IP address of the DNS server you wish to use.

Nslookup screenshots: Troubleshooting DNS problems

nslookup change server in interactive mode

nslookup change server in interactive mode

While in interactive mode you can change the DNS server you are querying. Simply enter server followed by the name or IP address of the new DNS server you wish to use. This is useful if you want to verify DNS records across servers.

Nslookup screenshots: Troubleshooting DNS problems

nslookup find name servers

nslookup find name servers

While in interactive mode, you may also use the set type command to display different types of DNS records, such as the DNS servers of a domain. You do this by issuing the set type=ns. After that you will display the name servers of any server you query.

Nslookup screenshots: Troubleshooting DNS problems

nslookup mx lookup

nslookup mx lookup

One common use for nslookup is to query mx (mail exchanger) records. If you are having mail delivery issues to a particular domain, you may wish to view these records to ensure that you are delivering mail to the correct server.

  • Developer
  • Account Information

    Share with Your Friends

    Nslookup screenshots: Troubleshooting DNS problems

    Your email has been sent

Share: Nslookup screenshots: Troubleshooting DNS problems
Image of carareynolds
By carareynolds
Cara Reynolds an editor on TechRepublic's content team. She has been working in educational, licensed, and Web publishing for more years than she cares to admit and hosts the Right Tool for the Job blog on TechRepublic.
  • Account Information

    Contact carareynolds

    Your message has been sent

  • |
  • See all of carareynolds's content

Daily Tech Insider

If you can only read one tech story a day, this is it.

TechRepublic TechRepublic
  • TechRepublic on Facebook
  • TechRepublic on X
  • TechRepublic on LinkedIn
  • TechRepublic on YouTube
  • TechRepublic on Pinterest
  • TechRepublic RSS
Services
  • About Us
  • Newsletters
  • RSS Feeds
  • Site Map
  • Site Help & Feedback
  • FAQ
  • Advertise
  • Do Not Sell My Information
  • Careers
Explore
  • Downloads
  • TechRepublic Forums
  • Meet the Team
  • TechRepublic Academy
  • TechRepublic Premium
  • Resource Library
  • Photos
  • Videos
  • Editorial Policy
  • Legal Terms
  • Privacy Policy
© 2025 TechnologyAdvice. All rights reserved.
CLOSE

Create a TechRepublic Account

Get the web's best business technology news, tutorials, reviews, trends, and analysis—in your inbox. Let's start with the basics.

Already registered? Sign In
Use Facebook
Use Linkedin

* - indicates required fields

CLOSE

Sign in to TechRepublic

Not a member? Create an account
Use Facebook
Use Linkedin

Lost your password? Request a new password

CLOSE

Reset Password

Please enter your email adress. You will receive an email message with instructions on how to reset your password.

Check your email for a password reset link. If you didn't receive an email don't forgot to check your spam folder, otherwise contact support.

Back to login
1 Finish Profile
2 Newsletter Preferences
CLOSE

Welcome. Tell us a little bit about you.

This will help us provide you with customized content.

No thanks, continue without
1 Finish Profile
2 Newsletter Preferences
CLOSE

Want to receive more TechRepublic news?

Newsletter Name
Subscribe
Daily Tech Insider
Daily Tech Insider AU
TechRepublic UK
TechRepublic News and Special Offers
TechRepublic News and Special Offers International
Executive Briefing
Innovation Insider
Project Management Insider
Microsoft Weekly
Cloud Insider
Data Insider
Developer Insider
TechRepublic Premium
Apple Weekly
Cybersecurity Insider
Google Weekly
Toggle All
No thanks, continue without

You're All Set

Thanks for signing up! Keep an eye out for a confirmation email from our team. To ensure any newsletters you subscribed to hit your inbox, make sure to add [email protected] to your contacts list.

Back to Home Page
×