DNS Lookup - Check All DNS Records for a Domain
Enter a domain and press Lookup to query DNS records.
What this DNS lookup does
Type a domain, pick a record type and press Lookup. Your browser sends a
DNS-over-HTTPS query straight to Google Public DNS, Cloudflare 1.1.1.1 or
AliDNS and shows each record with its name, type, TTL and value. Choose
All records to fetch the ten most useful types in one
go, or tick Raw dig-style output to get text you can
paste into a ticket. Choosing PTR and typing an IPv4 address builds the
in-addr.arpa name for you.
From a terminal, the same query is
dig @8.8.8.8 example.com MX on macOS or Linux, or
nslookup -type=MX example.com 8.8.8.8 on Windows. This page
is quicker when you are not at a terminal or want a link to send
someone.
If a domain publishes SPF or DMARC in TXT, or has MX records, you get a link to the SPF and DMARC checker to validate its email setup.
Example
Looking up MX for github.com returns one record:
0 github-com.mail.protection.outlook.com.. The 0 is the priority, and the target tells
you GitHub's mail is handled by Microsoft 365. The dig-style view shows
the same answer as
github.com. 3600 IN MX 0 github-com.mail.protection.outlook.com.,
where 3600 is the TTL in seconds (yours will differ, as it counts down
in the resolver's cache).
DNS record types reference
| Type | What it does | Example value |
|---|---|---|
| A | Maps a name to an IPv4 address. | 93.184.215.14 |
| AAAA | Maps a name to an IPv6 address. | 2606:2800:21f:cb07::1 |
| CNAME | Makes one name an alias of another. | www → example.netlify.app. |
| MX | Mail servers for the domain, lowest priority number first. | 10 mx1.example.com. |
| NS | Authoritative nameservers for the zone. | ns1.cloudflare.com. |
| TXT | Free text, used for SPF, DKIM, DMARC and site verification. | v=spf1 include:_spf.google.com ~all |
| SOA | Primary nameserver, admin contact, serial and zone timers. | ns1.example.com. hostmaster.example.com. 2024010101 7200 3600 1209600 300 |
| CAA | Which certificate authorities may issue TLS certificates. | 0 issue "letsencrypt.org" |
| SRV | Host and port for a service such as SIP or XMPP. | 10 5 5060 sip.example.com. |
| PTR | Maps an IP address back to a hostname (reverse DNS). | dns.google. |
| DS | Fingerprint of the zone's DNSSEC key, held by the parent zone. | 2371 13 2 3299...8f6b |
| DNSKEY | The zone's public DNSSEC signing keys. | 257 3 13 mdsswUyr3D... |
| HTTPS | Connection hints for browsers: HTTP/3 support, IP hints, ECH. | 1 . alpn=h3,h2 |
TTL and DNS propagation
Every record has a TTL (time to live) in seconds. When a resolver fetches a record it caches it for that long, then asks your nameservers again. The TTL shown here is the time left in the resolver's cache, so it counts down between lookups.
"Propagation" is really cache expiry. When you change a record, each resolver keeps serving the old value until its cached copy expires. With a TTL of 3600, most users see the change within an hour. Before a planned move, lower the TTL to 300 a day ahead, make the change, then raise it again. Changing nameservers at the registrar is slower because the parent zone's NS records often have a TTL of one or two days.
To see whether a change has reached the big public resolvers, use the DNS propagation checker. To find who registered a domain and when it expires, use the WHOIS lookup.
Related Tools
Reverse DNS Lookup
Find the hostname associated with an IP address using PTR record lookups.
DNS Propagation Checker
Check whether a DNS change has propagated by comparing answers and TTLs across Google, Cloudflare and AliDNS resolvers.
SPF & DMARC Checker
Validate SPF, DMARC and DKIM records, count SPF's 10-lookup limit and get plain-English fixes.
WHOIS Lookup
Look up domain registration data via RDAP: registrar, expiry date, status codes, nameservers and DNSSEC.