DNS Lookup
DNS Record Lookup
Query DNS records for any domain. Select the record type you want to look up.
DNS Record Types Reference
| Type | Name | Description |
|---|---|---|
A | Address Record | Maps domain to IPv4 address |
AAAA | IPv6 Address | Maps domain to IPv6 address |
CNAME | Canonical Name | Alias pointing to another domain |
MX | Mail Exchange | Specifies mail servers for the domain |
NS | Nameserver | Authoritative nameservers for the domain |
TXT | Text Record | Arbitrary text, often for verification |
SOA | Start of Authority | Primary info about the DNS zone |
PTR | Pointer | Reverse DNS lookup (IP to domain) |
SRV | Service | Defines service locations |
CAA | CA Authorization | Specifies allowed certificate authorities |
About DNS
What is DNS?
DNS (Domain Name System) translates human-readable domain names into IP addresses that computers use to communicate.
DNS Propagation
When you change DNS records, it can take 24-48 hours for changes to propagate globally due to TTL caching.
Common DNS Issues
- Incorrect A/CNAME records
- Missing MX records for email
- SPF/DKIM issues in TXT
- Propagation delays
TTL (Time to Live)
TTL determines how long DNS records are cached. Lower TTL = faster updates but more queries. Higher TTL = better performance.
How to Use This Tool
- Enter the Domain Name: Input the domain you want to query (e.g., example.com). Do not include http:// or paths—enter the bare domain name only. Subdomains like www.example.com or mail.example.com are valid inputs.
- Select Record Type: Choose the DNS record type to query. Use "A" for IPv4 addresses, "AAAA" for IPv6, "MX" for mail servers, "TXT" for SPF/DKIM records, or "All Records" for a comprehensive view.
- Review the Results: Examine the returned records including values and TTL (Time To Live). TTL indicates how long resolvers cache the record—lower values mean faster propagation but more DNS queries.
- Troubleshoot Issues: Compare expected values with actual results. Missing A records indicate the domain doesn't resolve. Incorrect MX records cause email delivery failures. TXT record errors break SPF/DKIM email authentication.
Technical Details
DNS (Domain Name System) is a hierarchical, distributed database that translates human-readable domain names to IP addresses. When you query a domain, resolvers traverse the hierarchy from root servers (.) to TLD servers (.com) to authoritative nameservers for the specific domain. Results are cached at each level according to TTL values.
This tool uses DNS-over-HTTPS (DoH) via Cloudflare's resolver (1.1.1.1), bypassing your local DNS configuration for consistent results. Record types serve different purposes: A/AAAA map domains to IPs, MX specifies mail server priority, TXT holds arbitrary text (SPF, DKIM, domain verification), CNAME creates aliases, NS delegates zones, and SOA defines zone authority parameters including refresh intervals and negative caching TTL.
Common Mistakes to Avoid
- Expecting Instant Propagation: DNS changes take time to propagate globally. Even with low TTL values, cached records at intermediate resolvers must expire. Plan 24-48 hours for full propagation after DNS changes, though most updates visible within minutes to hours.
- Confusing CNAME and A Records: CNAME creates an alias to another domain (requires additional lookup), while A directly maps to an IP. You cannot have a CNAME at the zone apex (bare domain)—use an A record or provider-specific ALIAS/ANAME record types.
- Ignoring MX Priority: MX records include a priority value—lower numbers have higher priority. Mail servers try lowest-priority MX first, falling back to higher values. Setting all MX records to the same priority distributes load but doesn't provide proper failover.
Related Tools
Need to find who owns a domain you're investigating? Use our WHOIS Lookup tool for registration details. To test connectivity to the resolved IP addresses, try the Ping & Traceroute tool.
Frequently Asked Questions
Why do I get different DNS results than expected?
Your local resolver may have cached old records. This tool queries Cloudflare's DNS directly, bypassing local cache. After DNS changes, wait for TTL expiration. Also verify you're querying the correct record type—A vs AAAA vs CNAME.
What does TTL mean in DNS records?
TTL (Time To Live) specifies how long resolvers should cache the record in seconds. A TTL of 3600 means one hour of caching. Lower TTLs enable faster changes but increase DNS query load. Before major DNS changes, reduce TTL 24-48 hours in advance.
Can I see all DNS records for a domain at once?
Select "All Records" from the record type dropdown to query common record types simultaneously. Note that some record types (like internal-only records) may not be exposed in public DNS responses.