Blog
How to Check DNS Records: Complete Guide with Step-by-Step Examples
Network Diagnostics

How to Check DNS Records: Complete Guide with Step-by-Step Examples

IP Pulse Pro TeamMay 18, 20269 min read
Share:

What Are DNS Records?

DNS (Domain Name System) records are the internet's phone book. They translate human-readable domain names like example.com into machine-readable IP addresses like 93.184.216.34. Without DNS records, you would need to memorize numerical IP addresses for every website you visit.

When you type a URL into your browser, a DNS resolver queries the authoritative nameservers for that domain and retrieves the relevant DNS records. This process happens in milliseconds and is fundamental to how the internet works. Understanding how to check these records is essential for website owners, developers, and network administrators.

Why check DNS records? You might need to verify that your domain is configured correctly, troubleshoot email delivery problems, confirm that a DNS change has propagated, or investigate security issues like DNS hijacking.

Common DNS Record Types

Before checking DNS records, it's important to understand the most common types and what they do:

A Record

Maps a domain to an IPv4 address. The most fundamental DNS record type.

example.com → 93.184.216.34

AAAA Record

Maps a domain to an IPv6 address. The next-generation equivalent of A records.

example.com → 2606:2800:220:1:248:1893:25c8:1946

MX Record

Specifies the mail server responsible for accepting email for the domain.

example.com → mail.example.com (priority 10)

CNAME Record

Creates an alias from one domain name to another. Commonly used for subdomains.

www.example.com → example.com

NS Record

Delegates a DNS zone to use the given authoritative nameservers.

example.com → ns1.example.com

TXT Record

Stores arbitrary text data. Used for SPF, DKIM, DMARC, and domain verification.

example.com → "v=spf1 include:_spf.google.com ~all"

How to Check DNS Records Online

The easiest way to check DNS records is using an online DNS lookup tool. These tools query DNS servers from various locations and display the results in a readable format.

1

Open the DNS Lookup Tool

Navigate to the IP Pulse Pro DNS Lookup Tool. This free tool supports all DNS record types and provides results from global DNS servers.

2

Enter the Domain Name

Type the domain you want to check (e.g., google.com) into the search field. You don't need to include http:// or www.

3

Select the Record Type

Choose the DNS record type you want to query — A, AAAA, MX, NS, TXT, CNAME, or SOA. Select "ALL" to retrieve all record types at once.

4

Analyze the Results

Review the returned records including TTL values, IP addresses, and nameserver information. Compare against your expected configuration.

Check DNS Records via Command Line

For developers and system administrators, command-line tools provide more control and scripting capabilities.

Using dig (Linux/macOS)

The dig command is the most powerful DNS query tool available:

# Check A record
dig example.com A

# Check MX records
dig example.com MX

# Check all record types
dig example.com ANY

# Query a specific DNS server
dig @8.8.8.8 example.com A

# Get short answer only
dig +short example.com A

Using nslookup (Windows/macOS/Linux)

nslookup is available on all major operating systems:

# Basic lookup
nslookup example.com

# Query specific record type
nslookup -type=MX example.com

# Query specific DNS server
nslookup example.com 8.8.8.8

Using host (Linux/macOS)

# Simple lookup
host example.com

# Specific record type
host -t MX example.com

# All records
host -a example.com

Check DNS Records via API

For automated workflows and integrations, the IP Pulse Pro API provides programmatic DNS lookup:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.ippulsepro.com/v1/tools/dns/resolve?domain=example.com&type=A"

The API returns structured JSON with all DNS records, making it easy to integrate into CI/CD pipelines, monitoring systems, or custom applications. View API plans starting from free.

DNS Propagation Explained

When you change DNS records, the update doesn't take effect immediately across the entire internet. This delay is called DNS propagation and is influenced by:

  • TTL (Time to Live): Each DNS record has a TTL value that tells resolvers how long to cache the result. Lower TTLs mean faster propagation.
  • ISP Caching: Internet Service Providers cache DNS records. Some refresh their caches frequently, others may hold onto old records for hours.
  • Global Distribution: DNS changes propagate from the authoritative nameserver outward. Users in different geographic locations may see changes at different times.

Typical propagation times: 1-4 hours for most changes, up to 48 hours for full global propagation. You can check propagation status using tools that query DNS servers from multiple global locations.

Troubleshooting Common DNS Issues

Website Not Loading

Check A/AAAA records point to the correct IP. Verify nameservers are properly configured. Use DNS Lookup to confirm.

Email Not Delivering

Check MX records point to the correct mail server. Verify SPF, DKIM, and DMARC TXT records are properly set up.

SSL Certificate Errors

Verify DNS points to the correct server IP. Use the SSL Checker to diagnose certificate issues.

Subdomain Not Working

Check CNAME or A records for the subdomain. Ensure the zone file includes the subdomain entry.

Frequently Asked Questions

See the FAQ section above for answers to common questions about checking DNS records.

Ready to check your DNS records?

Try Our Free DNS Lookup Tool →

Try DNS Lookup Tool

Check DNS records for any domain instantly with our free online DNS lookup tool.

Use Tool

Frequently Asked Questions

Cookie Preferences

We use essential cookies for authentication and security. On blog pages, Google AdSense may set advertising cookies for free-tier visitors to show relevant ads. You can manage your preferences below.