DNS lookup

Look up any DNS record for any name.

Enter a domain or address to check.

Free, no account needed.

Eight record types, one picker

The picker covers A, AAAA, CNAME, MX, NS, TXT, SOA and CAA, the record types websites and email depend on, and answers come from Cloudflare's public resolver, with Google Public DNS as the backup.

Read moreShow less: Eight record types, one picker

DNS is a public table of records. Each record has a name, a type, a time to live (TTL) and some data, and the type decides what the data means. The picker covers the types that websites and email depend on:

  • A holds the IPv4 address a name points to. Browsers and mail servers connect to it.
  • AAAA is the same thing for IPv6 addresses.
  • CNAME makes a name an alias. The name has no records of its own and borrows everything from its target.
  • MX lists the servers that accept mail for a domain, each with a priority number.
  • NS names the servers that hold the domain's records.
  • TXT carries free text. SPF, DMARC, DKIM keys and ownership tokens such as google-site-verification= all live here.
  • SOA is one record per zone that describes it: the primary nameserver, a contact address, a serial number and timers.
  • CAA limits which certificate authorities may issue TLS certificates for the name.

Answers come from Cloudflare's public DNS-over-HTTPS resolver, with Google Public DNS as the fallback, so you see what a large public resolver sees right now.

Reading the table

A one-line summary says what came back, and Technical details lists each record's name, type, remaining TTL and data, with the raw JSON answer underneath.

Read moreShow less: Reading the table

A single sentence above the table sums up what came back, for example "Found 11 certificate-authority rules for cloudflare.com." Two other summaries mean there is nothing to show: "doesn't exist in DNS" is the resolver's NXDOMAIN answer, and "exists but has no …" means the name is real but has nothing of the type you picked, which is often normal. A failure on the DNS server's side is reported as "The DNS server returned an error (code N)".

Open Technical details for the records themselves:

  • Name is the owner of the record. Look up an alias and you get two kinds of row: the CNAME for the name you typed, then the records of its target. When that happens a note reads "Answer came through an alias".
  • Type is the record type of that row.
  • TTL is the number of seconds a resolver may keep the answer. Because the answer comes from a resolver's cache, this is the time remaining, so it can be lower than the value set in the zone and shrinks if you look again.
  • Data is the record. MX data starts with the priority, SOA data packs seven fields into one line, and TXT data is shown with its quote marks removed and any split strings joined.

Raw data under the table holds the same answer as JSON, including the resolver that answered.

Five real lookups

Results from 21 October 2026 for github.com, www.github.com, openbsd.org, cloudflare.com and google.com, including an SOA line read field by field.

Read moreShow less: Five real lookups

These came from our tool on 21 October 2026.

github.com, type A, returned one IPv4 address with 10 seconds left on the cached TTL:

github.com   A   10   140.82.114.3

www.github.com, type CNAME, is an alias for the bare domain, cached for an hour:

www.github.com   CNAME   3600   github.com.

openbsd.org, type SOA, shows how much one line holds:

dns1.openbsd.org. root.openbsd.org. 1218140053 14400 900 1814400 600

Read left to right: the primary nameserver; the contact mailbox with its first dot standing for @ (root@openbsd.org); the serial number; refresh after 14,400 seconds (4 hours); retry after 900 seconds; secondary nameservers stop answering for the zone if they can't refresh it for 1,814,400 seconds (21 days); and 600 seconds, which resolvers use as the TTL for "no such record" answers (capped by the SOA record's own TTL, here 3600).

cloudflare.com, type CAA, returned 11 rules: issue and issuewild for five certificate authorities, plus an iodef line saying where to report a certificate request that breaks the rules.

google.com, type TXT, returned 17 records. Most are verification tokens for other companies' services, which shows how crowded a busy domain's TXT records get, and why tools that read SPF have to pick out the one line starting v=spf1.

Edits that break things

Common edits that go wrong: a CNAME on the bare domain or beside other records, a missing trailing dot, a TXT string over 255 characters, and expecting a change to show up at once.

Read moreShow less: Edits that break things
  • A CNAME on the bare domain. A name with a CNAME can't have any other record, and the bare domain always has SOA and NS records, so example.com. CNAME example.net. is invalid (illustrative example). DNS hosts offer flattening or ALIAS records for this instead.
  • A CNAME next to other records. If www.example.com has a CNAME, it can't also have a TXT or MX record. Remove one or the other.
  • The trailing dot. In a zone file, a name without a final dot gets the zone added to it, so mail.example.com inside the example.com zone becomes mail.example.com.example.com. Most web dashboards add the zone for you, so type only the part before your domain there.
  • TXT values over 255 characters. One string in a TXT record holds at most 255 characters. Long values such as 2048-bit DKIM keys have to be split into several quoted strings in the same record; most dashboards do the split for you.
  • Expecting an edit to show up at once. Resolvers keep the old answer until its TTL runs out. Lower the TTL a day before a planned change, then raise it again afterwards.

DNS lookup questions

Short answers on propagation, why resolvers disagree, choosing a TTL, CNAMEs on the root domain and A versus AAAA records.

How long does a DNS change take to propagate?

"Propagation" is really caches expiring. A resolver that already holds the old answer keeps it until that answer's TTL runs out, so the wait is at most the old record's TTL, usually somewhere between a few minutes and a day. Nameserver changes made at the registrar can take longer, because some registries' delegation records carry long TTLs (two days for .com).

Why do I get different results from different DNS servers?

Each resolver caches answers separately, so two of them can hold different versions of a record until the older copy expires. Some DNS hosts also answer differently by location on purpose. A lookup here shows what one large public resolver holds at this moment.

What is a good TTL for DNS records?

For records that rarely change, an hour (3600 seconds) to a day keeps lookups fast and cheap. Drop the TTL to 300 seconds a day before a planned change so the switch-over is quick, then put it back.

Can I use a CNAME on the root domain?

No. The root of a domain must carry SOA and NS records, and a CNAME can't share its name with anything else. DNS hosts work around this with CNAME flattening, ALIAS or ANAME records, which answer with the target's addresses instead.

What's the difference between an A record and an AAAA record?

Both map a name to an address: A to an IPv4 address such as 140.82.114.3, AAAA to an IPv6 address such as 2620:0:861:ed1a::1. A name can have both, and devices with IPv6 connectivity usually prefer the AAAA answer.

Where to go from a DNS lookup

For a domain's mail setup as a whole, the health check reads the MX, SPF, DKIM and DMARC records together and says which one to fix first.