🚀 More powerful tools are on the way: SSL Checker, Security Headers Scanner & more, coming soon!
HomeBlogDNS Lookup: A Complete Guide to Querying Domain Records
Guides

DNS Lookup: A Complete Guide to Querying Domain Records

Learn how to use a DNS lookup tool to query A, AAAA, MX, TXT, NS and other records for any domain. Understand every record type, read TTL, run reverse DNS, and troubleshoot DNS problems fast.

BuildToolForge Team🗓 September 21, 20269 min
dnsdns lookupnetwork toolsdomain recordsdns-over-https
Network Tool Guide2026

DNS Lookup
Made Simple

Resolve A, AAAA, MX, TXT, NS and more in seconds

Client-side · DNS-over-HTTPS · Private

dns-query · cloudflare-dns.com
$ lookup example.com
A93.184.216.34TTL 3600
AAAA2606:2800:220:1::68
MXmail.example.com (prio 10)
TXTv=spf1 include:_spf ~all
resolved in 42ms · 8 record types supported
Record types
A
IPv4 Address
AAAA
IPv6 Address
MX
Mail Exchange
TXT
Text / SPF
NS
Name Server
CNAME
Alias
SRV
Service
PTR
Reverse
Real-time resolutionDNS-over-HTTPSTTL & metadataLookup historyNo data stored

The Domain Name System is the phonebook of the internet. Every time you open a website, send an email, or connect to an API, a DNS resolution runs behind the scenes to turn a human-readable domain name into the machine-readable IP address that servers actually use. When something breaks, a site that will not load, an email that bounces, a certificate that fails to validate, the DNS records are usually the first place to look. That is exactly what a DNS Lookup tool is for.

A DNS lookup lets you query several record types for any domain, read the raw values with their TTL and priority, and see exactly what the public DNS system reports. Our tool runs entirely in your browser, sends its queries over an encrypted DNS-over-HTTPS connection, and stores nothing about your lookups on any server. Whether you are a developer verifying a deployment, a sysadmin chasing an email problem, or a security analyst auditing SPF, it gives you fast, reliable answers.

This guide explains why DNS lookups matter, walks through every record type the tool supports, shares practical use cases, and finishes with best practices for keeping your own DNS healthy.

Why Use DNS Lookup?

DNS is one of those systems you rarely think about until it breaks, and a quick lookup can save you hours of guesswork. Here is when a fast, reliable DNS query tool earns its place:

  • Troubleshoot connectivity quickly. When a domain will not resolve or points to the wrong server, checking the A or AAAA record tells you at once whether the problem is DNS or something further downstream.
  • Debug email delivery. MX and TXT records (SPF, DKIM, DMARC) decide where mail goes and whether it is trusted. A misconfigured MX record means bounced email, and a lookup surfaces it in seconds.
  • Verify deployments and DNS changes. After moving a domain to a new host or CDN, a lookup confirms whether your change has propagated or is still serving the old values.
  • Audit your security posture. SPF, DKIM, and DMARC records are your first defense against email spoofing. Looking them up lets you confirm they are set correctly.
  • Protect your privacy. Because the tool uses DNS-over-HTTPS, your queries are encrypted in transit and never logged on a server, unlike many free lookup sites that track everything.

Key Features

FeatureDetails
Record typesA, AAAA, CNAME, MX, TXT, NS, SRV, PTR (8 total)
Resolution engineDNS-over-HTTPS via Google, Cloudflare, or Quad9
Result dataName, value, and TTL for every record
Query metadataResponse time and total record count
HistoryTimestamped lookup history kept in your browser
Privacy100% client-side, no server-side logging

How to Use DNS Lookup

  1. Enter a domain. Type the domain you want to query, for example example.com. For a reverse lookup, choose PTR and enter an IP address instead.
  2. Choose record types. Tick the record types you want. Select several at once to query them in a single lookup.
  3. Pick a resolver. Open Advanced Options to switch between Google, Cloudflare, and Quad9 if you want to compare answers.
  4. Run the lookup. Click Lookup DNS Records. Results are grouped by type, each with its value and TTL, plus the query time and total record count.
  5. Reuse your history. Previous lookups appear in the history panel, so you can re-run or compare queries without retyping the domain.

Understanding DNS Record Types

The tool supports eight record types. Knowing what each one does helps you read the results with confidence.

A (IPv4 Address) is the most common record. It maps a domain to an IPv4 address such as 93.184.216.34. When someone types your domain into a browser, the A record tells their device which server to contact.

AAAA (IPv6 Address) is the IPv6 equivalent of the A record. As IPv6 adoption grows, an AAAA record keeps your domain reachable on modern networks.

CNAME (Canonical Name) aliases one name to another. For example, www.example.com might be a CNAME pointing to example.com. CNAMEs are common with CDNs and hosted platforms, and they cannot coexist with most other record types on the same name.

MX (Mail Exchange) directs email to the right mail server. Each MX record has a priority, and lower numbers are preferred. If your email is not being delivered, the MX records are the first thing to check.

TXT (Text) holds machine-readable policy data: SPF, DKIM, DMARC, and domain-verification tokens. A TXT lookup is essential for email authentication audits and for verifying ownership with services like Google Workspace.

NS (Name Server) lists the authoritative name servers for the domain. If your DNS changes are not appearing, checking the NS records confirms you are looking at the right authoritative source.

SRV (Service Record) specifies the host and port for a particular service, such as SIP or XMPP. Most sites do not need SRV records, but they are essential for certain enterprise and communication services.

PTR (Pointer / Reverse DNS) maps an IP address back to a hostname. Reverse DNS matters for email deliverability, since many mail servers reject connections from IPs without a valid PTR record.

Practical Use Cases

Troubleshooting Email Delivery

If mail to your domain is bouncing or landing in spam, start with an MX lookup to confirm mail is routed to the correct servers. Then check the TXT records for SPF and DMARC. A missing or overly permissive SPF record is one of the most common causes of deliverability problems, so compare your records against your provider's recommended setup.

Verifying SSL and Deployments

After pointing a domain at a new server or CDN, an A or AAAA lookup confirms whether the new address has propagated. Pair it with an SSL Certificate Checker run to make sure the certificate on the new server matches the domain. If the lookup still shows the old IP, caching is at play, so check the TTL to estimate how long the change will take.

Checking DNS Propagation

DNS changes do not appear everywhere at once; they depend on TTLs and resolver caching. By querying your domain across different resolvers and reading the TTL values, you can estimate how long an update will take to spread. If Google and Cloudflare disagree, propagation is still in progress.

Security and SPF Audits

A TXT lookup reveals your SPF, DKIM, and DMARC configuration in one place. Confirm that SPF lists every legitimate sending service, that DMARC is set to at least a quarantine policy, and that no stray records remain. Regular audits catch misconfigurations before attackers can exploit them for spoofing.

Best Practices for DNS Management

  • Keep TTLs sensible. Short TTLs (300 to 600 seconds) during a migration let you roll back quickly. Longer TTLs (3600 seconds or more) for stable records reduce lookups 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 resolvers. Cloudflare, Google, and Quad9 are fast, reliable, and support modern protocols like DNS-over-HTTPS.
  • Do not forget reverse DNS. Set PTR records through your hosting provider, especially for mail servers.
  • Monitor for unexpected changes. Periodic lookups help you spot unauthorized modifications before they cause problems.

Start Looking Up DNS Records Today

Whether you are 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 and see exactly what the world sees.

Related tools you might like: