ToolNestr

DNS Lookup Tool

Enter any domain name and select a record type to retrieve DNS records from the public DNS system.

Reviewed by the ToolNestr Editorial Team — July 2026

DNS Record Lookup

How DNS lookups work

The Domain Name System (DNS) is the phonebook of the internet. When you type a domain name like example.com into your browser, DNS translates it into a machine-readable IP address so your device can connect to the correct server. This process, called DNS resolution, involves multiple servers working together in a hierarchical system.

A DNS lookup begins at your device's stub resolver, which sends a query to a recursive resolver (typically operated by your ISP or a public provider like Cloudflare's 1.1.1.1 or Google's 8.8.8.8). The recursive resolver then navigates the DNS hierarchy: it first contacts a root name server, which directs it to the appropriate TLD (top-level domain) server, such as .com or .org. The TLD server then directs the resolver to the domain's authoritative name servers, which hold the actual DNS records. The authoritative server returns the requested records to the resolver, which caches the result and passes it back to your device.

Each type of DNS record serves a distinct purpose. A records map domain names to IPv4 addresses, while AAAA records do the same for IPv6 addresses. MX records specify mail servers for email delivery, and TXT records store arbitrary text data for verification and security policies. NS records identify the authoritative name servers for the zone, CNAME records create domain aliases, and SOA records contain administrative metadata about the entire zone. Understanding these record types is essential for troubleshooting DNS issues, configuring email delivery, setting up domain verification, and managing web infrastructure.

The TTL (Time to Live) value in each DNS record determines how long recursive resolvers cache the result. Shorter TTLs mean changes propagate faster but increase query load on authoritative servers. Longer TTLs reduce query volume but delay the visibility of record changes. When making DNS changes before a migration, administrators typically lower the TTL to 300 seconds (5 minutes) beforehand to speed up propagation, then raise it again after the change is complete.

DNS Resolution Flow Diagram A step-by-step diagram showing how a DNS query flows from browser to recursive resolver, then to root, TLD, and authoritative name servers, and back Browser / Client Stub resolver 1 Recursive Resolver ISP / Cloudflare / Google 2 Root Server 3 TLD Server 4 Authoritative Name Server 5 & 6. Answer returned Cache (TTL-based) Client receives answer & loads website
Step-by-step DNS resolution process showing the query path through the DNS hierarchy

Common DNS record types explained

A and AAAA records

A records map a domain to an IPv4 address. AAAA records map to an IPv6 address. Most domains have at least one A record pointing to their web server. IPv6-only networks rely entirely on AAAA records.

MX records

Mail Exchange records route email for the domain. Each MX record has a priority number — lower values are tried first. If the primary mail server is unreachable, the backup (higher priority) server handles delivery.

TXT records

TXT records store human- or machine-readable text. Common uses include SPF records that list authorised mail senders, DKIM keys for email signing, DMARC policies for email authentication, and domain ownership verification strings.

NS, CNAME and SOA

NS records delegate the zone to authoritative name servers. CNAME records alias one name to another. SOA records provide zone metadata including serial number, refresh interval, and the admin contact email.

Why use this DNS lookup tool

This tool lets you query any of the seven most common DNS record types directly from your browser. It is essential for system administrators checking whether DNS records have been updated correctly after a migration, web developers verifying that their domain points to the right server, email administrators confirming MX and SPF records are correct, and security professionals auditing DNS configurations.

Unlike command-line utilities such as dig or nslookup, this tool works on any device with a browser and requires no installation. It performs the lookup server-side and presents results in a clean, readable table. The results show the TTL, record type, and record data so you can verify both the content and the caching parameters of each record.

Limitations and considerations

This tool queries the DNS system from a single server-side resolver. The results you see may differ from what your local machine or users in other regions see due to DNS caching, anycast routing, and geographic load balancing. For a comprehensive view of DNS propagation across multiple global resolvers, use the DNS Propagation Checker tool on this site.

Some domains use DNS-based load balancing and return different records depending on the geographic location of the resolver. CDN providers like Cloudflare, Akamai, and Amazon CloudFront commonly do this. The results from this tool represent what one specific resolver sees and may not reflect the experience of users in other parts of the world.

Additionally, private DNS zones, split-horizon DNS configurations, and internal networks may use DNS servers that are not reachable from the public internet. This tool can only query records that are publicly visible in the global DNS system.

DNS best practices

When managing DNS records, several best practices help ensure reliability and security. Always set appropriate TTL values: use short TTLs (300 seconds) before planned changes so updates propagate quickly, then increase TTLs (3600 seconds or more) for normal operation to improve performance and reduce resolver load. Configure SPF, DKIM, and DMARC TXT records to protect your domain from email spoofing, and verify them using this tool. Use CNAME records instead of A records for pointing services to third-party platforms so the target provider can change IPs without requiring you to update your DNS. Enable DNSSEC (DNS Security Extensions) on your domain if your registrar supports it, which cryptographically signs your DNS records to prevent cache poisoning and DNS spoofing attacks.

References and further reading

Frequently asked questions

What is a DNS A record?

An A (Address) record maps a domain name to an IPv4 address. It is the most fundamental DNS record type, telling browsers and other clients which server hosts the website.

What is the difference between A and AAAA records?

A records map to IPv4 addresses (e.g., 192.0.2.1). AAAA (quad-A) records map to IPv6 addresses (e.g., 2001:db8::1). AAAA records are the IPv6 equivalent of A records.

What are MX records used for?

MX (Mail Exchange) records specify the mail servers responsible for receiving email for a domain. Each MX record has a priority value — lower numbers are tried first.

What is a TXT record?

TXT records store arbitrary text data. They are commonly used for SPF (email sender policy), DKIM (email signing), DMARC policies, and domain ownership verification.

What are NS records?

NS (Name Server) records delegate a domain to authoritative name servers. They tell resolvers which servers hold the official DNS records for the zone.

What is a CNAME record?

A CNAME (Canonical Name) record aliases one domain to another. For example, www.example.com may be a CNAME pointing to example.com so both serve the same content.

What is a SOA record?

The SOA (Start of Authority) record contains administrative metadata about the zone — the primary name server, the responsible email, the serial number, and timing values for refresh, retry, expire and negative TTL.

How does DNS caching affect results?

DNS resolvers cache results based on the TTL (Time to Live) value in each record. A cached result may be stale if the record was recently changed. Use the DNS Propagation Checker to see live results from multiple resolvers.

All tool categories

Networking & IP Tools (36 tools)
🧮 Everyday (26 tools)
💪 Health & Fitness (30 tools)
💰 Finance (34 tools)
🔢 Math (23 tools)
📄 PDF Tools (10 tools)
🎨 Creators (12 tools)
💻 Developers (24 tools)
⚡ Engineering & Science (24 tools)
⚛️ Physics (48 tools)
🧪 Chemistry (50 tools)
🧬 Biology (50 tools)
🏠 Construction & Home Improvement (105 tools)
👗 Clothing & Garment Tools (68 tools)
🍳 Cooking & Baking (9 tools)
🚗 Automotive (26 tools)
🖼️ Image Tools (13 tools)
🔐 Security & Hash (15 tools)
📝 Text Tools (15 tools)
🔍 SEO Tools (11 tools)
🔄 Converters (69 tools)
🕐 Time & Date (15 tools)
📊 Chart Generators (11 tools)
🕌 Islamic Tools (16 tools)