Skip to content

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

Frequently Asked Questions

How do I see all DNS records for a domain?
Choose All records and press Lookup. The tool sends one query per common record type (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, HTTPS and DNSKEY) and groups the answers. DNS has no reliable way to list every name in a zone, so records on subdomains such as mail.example.com need their own lookup.
Which DNS resolver should I pick?
Google Public DNS is the default. Switch to Cloudflare or AliDNS to see whether another resolver returns the same answer. If they differ, one of them is still serving an old cached record. The DNS Propagation Checker compares five resolvers side by side.
Can I share a lookup?
Yes. After a lookup the address bar updates to something like /dns/lookup/?domain=example.com&type=MX. Anyone who opens that link sees the same query run automatically in their browser.
Why does a record type show no results?
The name has no record of that type. A domain without IPv6 has no AAAA record, an apex domain rarely has a CNAME, and only DNSSEC-signed zones have DS and DNSKEY records. An error such as NXDOMAIN is different: it means the name itself does not exist.
Is my lookup sent to your server?
No. Your browser queries the chosen resolver directly over DNS-over-HTTPS. The one exception: if a single-type lookup to Google is blocked, for example by a corporate firewall, it is retried through a small proxy on this site, which queries Google for you.