Lookup result
Your result shows here, with the domain’s records of each type.
The lookup needs JavaScript, which is off in this browser.
How to use it
- Type a domain name, such as
example.com. From a pasted link we take its host name, and from an email address the domain after the @. - Run the lookup. We ask Cloudflare’s public DNS resolver for eight record types at once: A, AAAA, CNAME, MX, NS, TXT, SOA and CAA.
- Read each type’s row: its first record and how many it has, or that it has none. Press the count to see them all, each with its TTL.
- If the name is an alias, the result shows the name it points to, whose records you see.
- After a change, look again. A resolver can give the old answer until its TTL runs out.
What the lookup shows
We ask Cloudflare’s public DNS resolver, over DNS over HTTPS, for the name’s records of eight types at once. A resolver answers from its cache or by asking the nameservers that hold a domain’s DNS records. We ask only the resolver, never the domain’s own servers, so nothing reaches its website or mail servers.
| Type | What it holds |
|---|---|
| A | An IPv4 address the name points to, such as its web server’s. |
| AAAA | An IPv6 address the name points to (RFC 3596). |
| CNAME | The name this one is an alias of, its canonical name, which a resolver looks up instead. |
| MX | A server that accepts email for the domain, with a preference number. Lower numbers are preferred. |
| NS | One of the zone’s authoritative nameservers, the servers that answer for its records. |
| TXT | Text the domain’s owner publishes, such as an SPF record listing the servers allowed to send its email (RFC 7208). |
| SOA | The start of a zone: its primary nameserver, the mailbox of the person responsible, and a serial number for its version. |
| CAA | The certificate authorities allowed to issue certificates for the domain, such as the one behind its https (RFC 8659). |
A row says there are none only after a clean answer. If the resolver didn’t give one for a type, the row says we couldn’t get those records, which isn’t the same as none.
How to read the result
Every record has an owner name, the name it belongs to. An alias changes it: if www.example.com has a CNAME pointing to example.com, a resolver starts again at example.com (RFC 1034), so you see example.com’s records, and the result says so. A chain can pass through several aliases, and if its last name doesn’t exist, the result says that too.
The TTL shown with a record, in seconds, is the time left in the resolver’s cache before its copy goes stale. It counts down from the TTL the domain’s owner set, so a record can show a different number each time you look. RFC 1034 puts the gap down to the record aging in a cache.
NS and SOA records sit at the top of a zone (RFC 1034), so a name below it, such as www.example.com, usually has none, and the result names its zone. With no CAA record at a name, certificate authorities check each name above it (RFC 8659), so a CAA record on example.com can still apply to www.example.com.
Underscore names, such as _dmarc.example.com, can be looked up too. For an IP address, use IP lookup.
Why a change may not show yet
When you change a record, your DNS host’s nameservers give out the new one, but a resolver that cached the old one keeps it until its TTL runs out. What people call propagation is those cached copies running out, one resolver at a time.
Our lookup shows Cloudflare’s view, which can differ from your own provider’s resolver for a while. We also keep answers for up to a minute, so a repeat within it can show the same records, with the time we first read them.
Planning a change? Lower the record’s TTL first and wait for the old TTL to pass, so resolvers keep the old answer for less time. A move to a new DNS provider changes the NS records too, which resolvers also keep until their TTL runs out, so leave the old provider’s records in place until then.
What to check when you move to a new host
A move to a new host comes down to a few records. Look the domain up after each change, and again once the old TTLs have passed.
- Website: the A and AAAA records, or a CNAME on
www, point where your new host says. If it gives you no IPv6 address, remove any old AAAA record, or visitors on IPv6 may still reach the old server. Our IP lookup shows the network behind each address, a quick clue to whose servers they are. - Email: the MX records name your mail provider’s servers, your SPF record lists every service that sends as your domain, and each DKIM key is where its service asks. Our SPF, DKIM and DMARC checker checks the last two, and DMARC, in detail.
- Nameservers: if your DNS moves too, copy every record to the new provider before you switch, then check that the NS records show its nameservers.
- Certificates: any CAA records must allow your new host’s certificate authority, since a compliant authority mustn’t issue a certificate they don’t allow (RFC 8659).
Still choosing? Our reviews cover what each host offers, and our best lists rank them for each kind of hosting.
What one lookup can’t tell you
- What every resolver sees. It’s one resolver’s view at one moment.
- Every name in a zone. It asks about the one name you type, so it can’t list a domain’s subdomains.
- Private DNS. Names that exist only on a private network’s own DNS don’t show, because we ask a public resolver.
- Reverse DNS, DNSSEC or ownership. It doesn’t look up the name behind an address, say whether answers were signed, or show who registered the domain.
- Whether a server works. A record can point to a server that’s down, and the lookup only reads DNS.
Common questions
What is a DNS lookup?
It’s a question to the Domain Name System about a name, such as which IP address example.com points to. A resolver finds the answer, from its cache or by asking the domain’s nameservers. Our lookup asks Cloudflare’s public DNS resolver for eight record types at once and shows what comes back for each.
How do I check a domain’s DNS records?
Type the domain into the box on this page to see its A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records, as Cloudflare’s public DNS resolver gives them. On a computer, nslookup -type=MX example.com in a terminal or command prompt asks your own resolver for one type.
What does TTL mean in DNS?
Time to live: how long, in seconds, a resolver may keep a record in its cache before it should ask again (RFC 1035). The domain’s owner sets it for each record. In our result, it’s the time left in Cloudflare’s cache, counting down from the owner’s setting, so it can change from one lookup to the next.
How long does DNS propagation take?
There’s no fixed time. A resolver that cached the old record keeps it until its TTL runs out, then asks again, so the wait is up to the old record’s TTL. Lower the TTL before a planned change, wait for the old one to pass, and the change reaches resolvers sooner.
Why does my computer show a different result?
Your computer asks the resolver its network gives it, which may still hold an older answer, or get a different one for where you are, and your device can keep answers of its own too. We ask Cloudflare’s public resolver, so the two can differ, at least until every cached copy’s TTL has run out.
What is a CNAME record?
A CNAME makes one name an alias of another, its canonical name. A resolver that meets one starts again at the canonical name (RFC 1034), so www.example.com with a CNAME to example.com gets that name’s records. A name with a CNAME shouldn’t have other records, so a domain’s top name, which needs NS and SOA records, shouldn’t be one.
What is an MX record?
An MX record names a server that accepts email for the domain, with a preference number. Lower numbers are preferred (RFC 1035), so senders try those servers first. When you move your email to a new provider, changing the MX records is what sends new mail to it.
Does the lookup contact the domain’s servers?
No. We ask only Cloudflare’s public DNS resolver, which answers from its cache or asks the domain’s nameservers, as any resolver does. Nothing reaches the domain’s website or mail servers. Answers are kept for up to a minute, and we keep no record of who looked up what.
Sources
- [1]RFC 1034, Domain names, concepts and facilities
- [2]RFC 1035, Domain names, implementation and specification
- [3]RFC 3596, DNS extensions to support IP version 6
- [4]RFC 8659, DNS Certification Authority Authorization (CAA) resource record
- [5]RFC 7208, Sender Policy Framework (SPF) for authorizing use of domains in email
- [6]Cloudflare, 1.1.1.1 (DNS Resolver)
- [7]Cloudflare, DNS over HTTPS, “Using JSON”
- [8]Microsoft Learn, nslookup
More tools
-
SPF, DKIM and DMARC checker
Check a domain’s SPF, DKIM and DMARC records for mistakes.
-
IP lookup
Find a website’s IP addresses and the network behind them.
-
Who is hosting this website?
See which company appears to host a website, and why we think so.