What Is nslookup and Its Benefits for Email Marketers

Aquibur Rahman
ByAquibur Rahman

5 mins read

Have you ever wondered what is your domain’s IP address? You may already know that, whenever users enter a domain name in the search bar, the browser directs them to the domain’s IP address. So what is yours?

To find out, you need to dig into your Domain Name System (DNS) settings which can take a while and needs technical proficiency. But with the help of nslookup (Name Server Lookup), you can check DNS records quickly without having deep technical knowledge. So let's discuss what nslookup is and how you can benefit from it.

  • What is nslookup?

  • Supported DNS record types

  • Use cases for nslookup

  • How to check DNS records with nslookup?

  • Takeaways

What is nslookup?

As the name suggests, nslookup is a method to find DNS records of a domain name. Every domain name has a set of DNS records, and you can find them with nslookup, including important email records like MX (Mail Exchange) records that help you receive important emails which are sent to your domain.

Supported DNS record types

There are two main ways to use nslookup:

  1. With Command Line

  2. With Online tools

Here are the supported DNS record types for each:

1. Windows Command line

  • A: Specifies a computer's IP address.

  • ANY: Specifies a computer's IP address.

  • CNAME: Specifies a canonical name for an alias.

  • GID Specifies a group identifier of a group name.

  • HINFO: Specifies a computer's CPU and type of operating system.

  • MB: Specifies a mailbox domain name.

  • MG: Specifies a mail group member.

  • MINFO: Specifies mailbox or mail list information.

  • MR: Specifies the mail rename domain name.

  • MX: Specifies the mail exchanger.

  • NS: Specifies a DNS name server for the named zone.

  • PTR: Specifies a computer name if the query is an IP address; otherwise, it specifies the pointer to other information.

  • SOA: Specifies the start-of-authority for a DNS zone.

  • TXT: Specifies the text information.

  • UID: Specifies the user identifier.

  • UINFO: Specifies the user information.

  • WKS: Describes a well-known service.

Source: Microsoft Docs

2. Online tools

Although different online tools like Broad Band Tools and Web Wiz may show you different DNS types, we are going to use, and it shows you the following DNS record types:

  • A

  • AAAA


  • TXT

  • NS

  • MX

  • SOA

Source: Nslookup

Use cases for nslookup

Here is how you can use nslookup:

  • Nslookup is mainly used for troubleshooting DNS problems. Since you can check many DNS record types with this method, you can also check if there is some inconsistency.

  • If you’re not receiving emails to your domain and you suspect your MX records to have errors, you can cross-check with nslookup. And if you find out that your MX record isn't pointing to the right domain, you can fix that ASAP to start receiving emails to your domain again.

  • You can also check the PTR (or Pointer) record that helps inbox providers want you to have so they can check the legitimacy of your emails. If you find inconsistencies, you need to fix them ASAP to minimize the negative impact on your email deliverability.

How to check DNS records with nslookup?

As you saw previously, there are two methods we can use.

1. Online tools

We will use to make the process of checking DNS records super easy for you. Follow these steps to check DNS types of different domains:

  1. Visit and enter the desired domain name.

Enter your domain name

  1. Click on Find DNS records.

  2. You’ll see the different DNS record types.

Find the DNS records you're looking for

Note that you can also filter these results by different servers, including Cloudflare DNS, Google DNS, Open DNS, Authoritative, and Local DNS.

2. Command prompt

Here is how to check your DNS records with the nslookup command in Windows.

  1. Make sure you are connected to a stable internet connection.

  2. Press the Windows logo key and type cmd and open the program.

  3. Then type nslookup followed by the domain name.

Enter nslookup

  1. You’ll see the DNS records of that domain.

You’ll see the DNS records of that domain

  1. If you want to query a specific record, type nslookup -type=[DNS record type] domain. Here, replace the [DNS record type] with A, MX, or any other record you want to know and the domain name.

Enter the above query to lookup MX records only

  1. You’ll see the details of that particular DNS record.

Image showing MX records of

Related guide:


The world of DNS records is complex, time-consuming, and complicated. Nslookup makes the process of checking DNS records a bit easier.

Making changes to your DNS is not easy, and waiting for those changes to get reflected is even harder. People waste too much time waiting for DNS changes to be reflected because they aren't familiar with the concept of DNS propagation. Read our guide to familiarize yourself with the A-Z of DNS propagation.

What you should do next

Hey there, thanks for reading till the end. Here are 3 ways we can help you grow your business:

  1. Talk to an email expert. Need someone to take your email marketing to the next level? Mailmodo’s experts are here for you. Schedule a 30-minute email consultation. Don’t worry, it’s on the house. Book a meet here.

  2. Send emails that bring higher conversions. Mailmodo is an ESP that helps you to create and send app-like interactive emails with forms, carts, calendars, games, and other widgets for higher conversions. Get started for free.

  3. Get smarter with our email resources. Explore all our knowledge base here and learn about email marketing, marketing strategies, best practices, growth hacks, case studies, templates, and more. Access guides here.

Share this article
copy link
Linkedin logo
Twitter logo
Facebook logo
Whatsapp logo
Pinterest logo
mail logo

What should you do next?

Thanks for reading till the end. Here are 3 ways we can help you grow your business:

Get smarter with our email resources

Explore our email marketing guides, ebooks and other resources to master email marketing.

Do better email marketing with Mailmodo

Send app-like interactive emails with forms, carts, calendars, games, etc. to boost email ROI.

Talk to an email expert

Get a 30-min. free email consultation with a Mailmodo expert to optimize your email marketing.

Get super-awesome email engagement

Get better ROI
on every email
you send

Quotation markMailmodo is a growth hack
for my business

Vineet Khare,
Bella Vita Organic

Get 3X conversions
with interactive emails


Create & send interactive emails without coding


Put revenue on auto-pilot with pre-built journeys


Save time with AI-powered email content creation

1000+ businesses grew with Mailmodo, including