DNS Lookup: A Complete Guide to Querying Domain Records
Learn how to use the DNS Lookup tool to query A, AAAA, MX, TXT, NS, and other DNS records for any domain β fast, private, and 100% in your browser.
Table of Contents
The Domain Name System (DNS) is the phonebook of the internet. Every time you visit a website, send an email, or connect to an API, a DNS resolution happens behind the scenes to translate a human-readable domain name into the machine-readable IP address that servers actually understand. When something goes wrong β a site that won't load, an email that bounces, a certificate that fails to validate β the DNS records are often the first place to look. That's exactly where our DNS Lookup tool comes in.
DNS Lookup lets you query eight different record types for any domain, view the raw results with TTLs and priorities, and inspect exactly what the public DNS system reports. It runs entirely in your browser, sends queries over an encrypted DNS-over-HTTPS (DoH) connection, and stores nothing about your lookups on any server. Whether you're a developer verifying a deployment, a sysadmin troubleshooting email delivery, or a security analyst auditing SPF records, the tool gives you instant, reliable answers.
In this guide we'll cover why DNS lookups matter, walk through each record type the tool supports, share practical use cases, and give you best practices for keeping your own DNS healthy. By the end you'll know exactly how to get the most out of the DNS Lookup tool.
Why Use DNS Lookup?
DNS is one of those systems you rarely think about until it breaks. A quick lookup can save you hours of head-scratching. Here's when it pays to have a fast, reliable DNS query tool at your fingertips:
- Troubleshoot connectivity fast. When a domain won't resolve or points to the wrong server, checking the A or AAAA record immediately tells you whether the problem is DNS or something downstream.
- Debug email delivery. MX and TXT (SPF/DKIM/DMARC) records control where mail is delivered and whether it's trusted. A misconfigured MX record means bounced email β and a lookup will show it in seconds.
- Verify deployments and DNS changes. After moving a domain to a new host or CDN, a lookup confirms whether your DNS change has propagated yet or is still serving the old values.
- Audit security posture. SPF, DMARC, and DKIM records are your frontline defense against email spoofing. Looking them up lets you confirm they're set correctly.
- Learn how domains are structured. Students and junior engineers can inspect real-world DNS configurations to understand how the system actually works in practice.
- Protect your privacy. Because the tool uses DNS-over-HTTPS, your queries are encrypted in transit and never logged server-side β unlike many "free" DNS lookup sites that track everything.
Key Features
| Feature | Details |
|---|---|
| Record types | A, AAAA, CNAME, MX, TXT, NS, SRV, PTR (8 total) |
| Resolution engine | Cloudflare DNS-over-HTTPS (cloudflare-dns.com/dns-query) |
| Result data | Name, value, TTL, and priority (MX) for every record |
| Query metadata | Response time and total record count |
| History | Session-based lookup history in a sidebar |
| Privacy | 100% client-side; no server-side logging |
- Toggle individual record types. An advanced, collapsible selector lets you turn each of the eight record types on or off, so you can run a broad query or focus on exactly the records you care about.
- Real-time domain validation. The input field validates domain format as you type, giving immediate feedback before you ever hit the lookup button.
- Referenced DNS servers. Results are framed against well-known public resolvers β Cloudflare (1.1.1.1), Google (8.8.8.8), and Quad9 (9.9.9.9) β so you understand the context of what you're seeing.
How to Use DNS Lookup
- Enter a domain. Type the domain you want to query (e.g., example.com) into the input field. The tool validates the format in real time.
- Choose record types. By default the tool queries A, AAAA, MX, TXT, and NS. Expand the advanced selector to add CNAME, SRV, or PTR, or to deselect any you don't need.
- Run the lookup. Click the lookup button. The query is sent over an encrypted DoH connection and typically returns in under a second.
- Review the results. Each record is displayed with its name, value, TTL, and priority where applicable. The top of the results shows the query time and total record count.
- Check your history. Previous lookups appear in the session history sidebar, so you can quickly re-run or compare queries without retyping the domain.
Understanding DNS Record Types
The tool supports eight DNS record types. Knowing what each one does helps you read the results like a pro.
A (IPv4 Address) β The most common record. It maps a domain name to an IPv4 address (e.g., 93.184.216.34). When someone types your domain into a browser, the A record tells their device which server to contact. You'll check A records whenever a site is unreachable, loading slowly, or pointing to the wrong place.
AAAA (IPv6 Address) β The IPv6 equivalent of the A record. It maps a domain to a 128-bit IPv6 address (e.g., 2606:2800:220:1:248:1893:25c8:1946). As IPv6 adoption grows, AAAA records ensure your domain is reachable on modern networks. Check this if IPv6 clients report issues reaching your site.
CNAME (Canonical Name) β Aliases one domain name to another. For example, www.example.com might be a CNAME pointing to example.com. CNAMEs are heavily used with CDNs, cloud services, and platforms like GitHub Pages. Note that CNAMEs can't coexist with most other record types for the same name.
MX (Mail Exchange) β Directs email to the right mail server. Each MX record has a priority value β lower numbers mean higher priority. For example, example.com might have mail.example.com at priority 10 and backup.example.com at priority 20. If your email isn't being delivered, the MX records are the first thing to verify.
TXT (Text) β Originally for human-readable notes, TXT records now carry critical machine-readable data: SPF policies, DKIM public keys, DMARC rules, domain verification tokens, and more. A TXT lookup is essential for email authentication audits and when verifying domain ownership with services like Google Workspace.
NS (Name Server) β Lists the authoritative name servers for the domain. These are the servers that hold the definitive DNS records. If your DNS changes aren't propagating, checking NS records confirms you're looking at the right authoritative source β and that a registrar transfer or nameserver change completed successfully.
SRV (Service Record) β Specifies the host and port for specific services, such as SIP for VoIP, XMPP for messaging, or Active Directory service locations. SRV records include priority, weight, port, and target. Most websites don't need them, but they're indispensable for certain enterprise and communication services.
PTR (Pointer / Reverse DNS) β The reverse of an A or AAAA record: it maps an IP address back to a hostname. PTR records are set up by the IP address owner (usually your hosting or ISP provider), not your domain registrar. Reverse DNS is important for email deliverability β many mail servers reject connections from IPs without a valid PTR record.
Practical Use Cases
Troubleshooting Email Delivery
If messages sent to your domain are bouncing or landing in spam, start with an MX lookup to confirm mail is routed to the correct servers. Then check TXT records for SPF (v=spf1 ...) and DMARC (v=DMARC1; ...). A missing or overly permissive SPF record is one of the most common causes of deliverability problems. Compare your records against your email provider's recommended configuration.
Verifying SSL and Deployments
After pointing a domain to a new server or CDN, an A or AAAA lookup confirms whether the new IP address has propagated. Pair this with an SSL check to ensure the certificate on the new server matches the domain. If the lookup still shows the old IP, DNS caching is at play β give it time or check TTL values to estimate how long the transition will take.
Checking DNS Propagation
DNS changes don't appear instantly worldwide; they depend on TTLs and resolver caching. By querying your domain and reading the TTL values, you can estimate how long it will take for updates to spread. If different networks report different results, propagation is still in progress.
Security and SPF Audits
A TXT lookup reveals your SPF, DKIM, and DMARC configuration in one view. Check that SPF includes all legitimate sending servers, that DMARC is set to at least p=quarantine, and that no unauthorized records exist. Regular audits catch misconfigurations before attackers exploit them for email spoofing.
Best Practices for DNS Management
- Keep TTLs sensible. Short TTLs (300β600 seconds) during migrations let you roll back quickly. Longer TTLs (3600+ seconds) for stable records reduce lookup load and improve speed.
- Document every change. Track what changed, when, and why β it makes troubleshooting far faster when something breaks.
- Audit SPF, DKIM, and DMARC regularly. Email authentication drifts over time as you add or remove sending services.
- Use reputable DNS providers. Cloudflare, Google, and Quad9 are fast, reliable, and support modern protocols like DoH.
- Don't forget reverse DNS. Set PTR records through your hosting provider, especially for mail servers.
- Monitor for unauthorized changes. Periodic lookups help you spot unexpected modifications before they cause problems.
Start Looking Up DNS Records Today
Whether you're resolving a tricky email issue, verifying a deployment, or just curious how a domain is configured, the DNS Lookup tool gives you instant, private, and detailed answers β all from your browser, with no sign-up required. Try it on your own domain right now and see exactly what the world sees.
Related Tools You Might Like:
- IP Lookup β Find geolocation and details for any IP address.
- SSL Certificate Checker β Inspect SSL/TLS certificates for any domain.
- Whois Lookup β Retrieve registration and ownership information for domains.
Happy querying β and may your DNS always resolve on the first try.