How Do I Use The NSLOOKUP Tool In The Command Prompt Or Terminal? (2024)

Microsoft Windows includes a tool called NSLOOKUP that you can use via the command prompt. This tool can be used to check DNS records propagation and resolution using different servers and perform other troubleshooting steps.

  1. Open Command prompt. Read the Knowledge Base article What Is A Command Prompt? for instructions on how to do it.
  2. Type nslookup and hit Enter. The displayed information will be your local DNS server and its IP address. You can specify the DNS server (IP address), type of record, and domain name.

    Note: all the screenshots below are for Windows OS but the same commands will work in Terminal for Mac.

    How Do I Use The NSLOOKUP Tool In The Command Prompt Or Terminal? (1)

  3. Type nslookup domain_name and the command will return the A record for the domain you ran a query for.

    How Do I Use The NSLOOKUP Tool In The Command Prompt Or Terminal? (2)

  4. Type nslookup -q=XXdomain_namewhere XX is a type of a DNS record and domain_nameis the domain you want to look up the record for. Some of the available types of records are MX, A, CNAME, and TXT. The records are then displayed.

    How Do I Use The NSLOOKUP Tool In The Command Prompt Or Terminal? (3)

  5. To look up the specific type of record for a domain usethe nslookup-type=record_type domain_namewhere record_type is A, CNAME, MX, PTR, NS, ANY and domain_nameis the domain you want to look up the record for.
    Example: Type nslookup -type=ns domain_name where domain_name is the domain for your query and hit Enter.The tool will display the name servers for the domain you specified.

    How Do I Use The NSLOOKUP Tool In The Command Prompt Or Terminal? (4)

Notes:

  • If you type help or ? you will see the list of all commands.
  • By pressing theUp and Down arrows you can select previously entered commands.

Is this answer helpful?

Haven't found what you're looking for? Search the Support Center!

Print Article

Article Information

Article ID: 24552

Last updated on: 10/11/2023 10:28 AM

Product: {{item.Name}}{{$index < (answer.Products.length-1) ? ', ' : ''}}

Internal Only

Partner Article

Tags: {{item.trim()}}{{$index < (answer.Keywords.length-1) ? ', ' : ''}}

Attachments:

Related Articles
How Do I Use The NSLOOKUP Tool In The Command Prompt Or Terminal? (2024)
Top Articles
10 Best Apps to Sign up And Get Money [Best Instant Bonuses]
Common, Unilateral Mistake & Mutual Misunderstandings
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
How To Cut Eelgrass Grounded
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Umn Biology
Obituaries, 2001 | El Paso County, TXGenWeb
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Colin Donnell Lpsg
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
San Pedro Sula To Miami Google Flights
Selly Medaline
Latest Posts
Article information

Author: Tish Haag

Last Updated:

Views: 6012

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.