Free tool

DNS Lookup

Check DNS records for any domain. Look up A, AAAA, MX, TXT, CNAME, NS, and SOA records instantly.

Query tool

DNS Lookup

Look up DNS records for any domain

Enter a domain name (e.g., example.com)

FAQ

Frequently Asked Questions

Common questions about DNS lookup and DNS records

Guide

How DNS Lookup Works

Understanding the DNS resolution process

When you enter a domain name in your browser, a complex DNS resolution process occurs behind the scenes to translate that domain name into an IP address.

01

Query Initiation

Your browser sends a DNS query to a recursive DNS resolver (usually provided by your ISP or a public DNS service).

02

Root Server Query

The resolver queries root DNS servers to find the authoritative name servers for the top-level domain.

03

TLD Server Query

The resolver queries the TLD name servers to find the authoritative name servers for the specific domain.

04

Final Resolution

The resolver queries the domain's authoritative name servers to get the actual IP address.

Reference

DNS Record Fields

A comprehensive guide to DNS record components

Record type

  • A: IPv4 address mapping
  • AAAA: IPv6 address mapping
  • MX: Mail server configuration
  • TXT: Text data for verification
  • CNAME: Domain alias/redirect
  • NS: Name server specification
  • SOA: Zone authority information

TTL (Time To Live)

  • • Determines how long records are cached
  • • Lower values = faster updates
  • • Higher values = fewer queries
  • • Typical range: 300-3600 seconds

Priority (MX)

  • • Lower numbers = higher priority
  • • Mail servers tried in priority order
  • • Used for email load balancing

Value / Data

  • • IP address (A/AAAA records)
  • • Domain name (CNAME/MX/NS)
  • • Text string (TXT records)
  • • Structured data (SOA records)

Best practices

DNS Best Practices

Tips for optimal DNS configuration and management

Use multiple name servers

Configure at least 2-4 name servers for redundancy. This ensures DNS resolution continues even if one name server fails.

Optimize TTL values

Use appropriate TTL values based on your needs. Lower TTL for frequently changing records, higher TTL for stable records.

Configure email security records

Set up SPF, DKIM, and DMARC TXT records to protect against email spoofing and improve email deliverability.

Monitor DNS changes

Regularly check your DNS records to ensure they haven't been tampered with. Unauthorized changes can redirect traffic.

Technical

DNS Resolution Process

Step-by-step breakdown of how DNS queries are resolved

Recursive vs iterative queries

  • Recursive: Your DNS resolver does all the work, querying multiple servers until it finds the answer.
  • Iterative: Each DNS server provides a referral to the next server, rather than doing the lookup itself.

DNS caching

DNS resolvers cache query results based on TTL values to improve performance and reduce load on DNS servers. When you query a domain, the resolver first checks its cache before querying authoritative servers.

What is DNS?

DNS (Domain Name System) is the phonebook of the internet. It translates human-readable domain names (like example.com) into IP addresses (like 192.0.2.1) that computers use to identify each other on the network.

When you type a domain name into your browser, DNS servers look up the corresponding IP address and direct your request to the correct server.

DNS Record Types

A Record (IPv4)

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

AAAA Record (IPv6)

Maps a domain name to an IPv6 address, the newer IP address format.

MX Record

Specifies mail servers responsible for accepting email messages for the domain.

TXT Record

Stores text information for SPF, DKIM, DMARC, and other verification purposes.

NS Record

Specifies the authoritative name servers for the domain.

CNAME Record

Creates an alias from one domain name to another.

SOA Record

Contains administrative information about the domain zone.

Why Use DNS Lookup?

Troubleshooting

Diagnose DNS configuration issues, verify record changes, and troubleshoot connectivity problems.

Security Verification

Verify SPF, DKIM, and DMARC records for email security and validate domain ownership.

Domain Research

Research domain configurations and check name server settings before purchasing.

Common DNS Issues

Propagation Delays

DNS changes can take 24-48 hours to propagate worldwide. This is normal behavior.

Missing Records

If a record type doesn't appear, it may not be configured for that domain.

TTL Values

TTL determines how long DNS records are cached. Lower TTL allows faster updates.