Troubleshooting

How to read DNS records and troubleshoot a domain

DNS records describe how a name is resolved and used. A successful lookup means a resolver returned data, not that every browser can reach the corresponding web server.

Updated

Start with the name and record type

Query the exact hostname you intend to use. The apex example.com and www.example.com can legitimately have different answers. A returns IPv4 addresses; AAAA returns IPv6 addresses. An A answer alone does not establish IPv6 connectivity. A CNAME points to another name and can lead to further address lookups.

Separate an absent record from an unavailable resolver

A successful DNS response without the requested record is not the same as NXDOMAIN, which indicates the queried name does not exist in that resolver's view. A timeout or SERVFAIL means the lookup could not provide a reliable answer. Do not interpret an unavailable response as proof that a record has been removed. InspectMyIP uses a fixed public DNS-over-HTTPS resolver rather than the resolver configured on your device.

Explore DNS record answers

Illustrative data · No network requests

DNS responseNOERROR
QUESTIONwww.example.comA
ANSWERA192.0.2.10
A record

A maps a name to an IPv4 address in this fictional zone.

Read all scenarios
  1. A record: www.example.com · A · 192.0.2.10. A maps a name to an IPv4 address in this fictional zone.
  2. AAAA record: www.example.com · AAAA · 2001:db8::10. AAAA maps a name to an IPv6 address.
  3. CNAME record: alias.example.com · CNAME · www.example.com. A CNAME refers to another name rather than an IP address.
  4. Failure: missing.example.com · NXDOMAIN · Name absent. NXDOMAIN differs from a timeout or a successful response without that record type.

Read TTL and mail records

TTL is the cache lifetime in seconds remaining or reported by the resolver. If you change an address record, previously cached answers can remain until their TTL expires. MX answers include priority and a mail exchanger; lower preference values are tried first. NS identifies delegated nameservers, while TXT often contains verification or mail-related policy text. An MX record is not evidence that a mailbox exists.

A worked troubleshooting sequence

If a recently moved site fails for only some users, compare A and AAAA for its exact hostname and check whether a CNAME still points at the old service. Record the returned TTL. If DNS answers are correct but the site fails, investigate TLS certificates, the origin and firewall separately. Do not delete an AAAA record merely because one browser reports a timeout; verify that the intended IPv6 endpoint works. Never enter internal or confidential names into a public lookup.

What the DNSSEC indication means

The resolver's AD flag indicates authenticated data according to its validation policy. It does not prove that a domain is trustworthy or that its HTTPS server is secure. A DNS record lookup is also not a DNS leak test: it uses our chosen resolver rather than observing your browser's actual recursive resolver.

Check your understanding

What does a CNAME record contain?

What does a CNAME record contain?

Working through a learning path?

Record your own progress on this browser. No account required.

Learning paths →

Try this

Open DNS Lookup, enter example.com and query A, AAAA, NS and MX separately. Compare the record types and TTL. No record is changed by these queries.

DNS record lookup →

Technical references