DNS Record Lookup
Query DNS records for any domain. Fetch A, AAAA, CNAME, MX, NS, TXT, and SOA records instantly using Cloudflare's fast 1.1.1.1 resolver.
Use DNS Record Lookup in 4 Steps
What is a DNS Lookup?
A DNS lookup queries DNS servers to retrieve live record data for a domain. It helps you verify web routing, mail routing, and authority at the same time.
For migrations and incident response, DNS lookup is the fastest first check because it tells you whether values are actually published before you assume propagation is broken.
DNS Record Types Reference
The table below covers all major DNS record types you will encounter when troubleshooting web routing, email delivery, security, and authority delegation:
| Record | What it controls | Typical use case |
|---|---|---|
| A | Maps a hostname to an IPv4 address. | Website and app server routing. |
| AAAA | Maps a hostname to an IPv6 address. | IPv6-enabled servers and dual-stack deployments. |
| CNAME | Aliases one hostname to another canonical name. | CDN aliases, SaaS domain verification subdomains. |
| MX | Defines inbound mail servers with priorities. | Email routing, failover, and provider migration. |
| TXT | Stores arbitrary text values for policy and verification. | SPF, DMARC, DKIM selectors, Google/domain verification. |
| NS | Lists authoritative nameservers for the zone. | DNS provider migration and zone delegation. |
| SOA | Zone start-of-authority: serial, refresh, retry, TTL defaults. | Zone management and serial-number verification after changes. |
| PTR | Reverse lookup — maps IP address to hostname. | Mail server rDNS, spam filter trust, logging. |
| SRV | Specifies host, port, and priority for a service. | SIP, XMPP, Microsoft 365 Autodiscover, VoIP routing. |
| CAA | Restricts which certificate authorities can issue SSL certs. | SSL/TLS security policy enforcement. |
| DNSKEY | Stores public DNSSEC signing keys for the zone. | DNSSEC verification chain, zone signing. |
| DS | Delegation signer — links parent zone to child zone DNSSEC. | DNSSEC chain-of-trust delegation. |
| TLSA | Associates a TLS certificate with a domain via DNS (DANE). | DANE SMTP, certificate pinning in DNSSEC-signed zones. |
Most day-to-day troubleshooting involves A, CNAME, MX, TXT, and NS records. DNSKEY, DS, and TLSA are relevant when diagnosing DNSSEC configuration issues.
Authoritative vs Recursive Answers
Authoritative nameservers hold the source zone data. Recursive resolvers (Google, Cloudflare, ISP DNS) cache answers for users. If you see mismatch, check both layers before acting.
When to Use DNS Lookup
- Before cutovers: validate record values before switching traffic.
- After updates: confirm live record values and TTL behavior.
- Email debugging: verify MX and TXT records for authentication flow.
- Outage triage: quickly detect wrong/missing records.
Practical Troubleshooting Workflow
- Step 1: Query the target record in this DNS lookup tool.
- Step 2: Verify NS authority using NS Lookup.
- Step 3: Compare regions with DNS Propagation Checker.
- Step 4: For mail issues, validate SPF/DMARC/DKIM from Email Tools.
CLI Examples (dig)
Use dig to query DNS records directly from your terminal. These commands cover the most common troubleshooting scenarios:
Use authoritative NS queries (+trace) when public resolver results conflict — correct authority with mixed public results indicates normal cache expiry, not a misconfiguration.
Frequently Asked Questions
Get guides like this by email
DNS, email auth, and security playbooks delivered when they publish. No spam.