Skip to content
Blog

DNS record types: choose the right name and answer

A missing TXT record often starts with a question about the wrong name. A provider may ask you to publish a value at _dmarc.example.com, while you query example.com and expect to see it there. Those are different DNS names. I copy the required full name and type into a short checklist before changing the zone or blaming propagation.

Which DNS name should I look up?

A hosting control panel may display a relative label such as www or _dmarc because it already knows the zone. A public resolver does not know which zone you mean from that label alone. The checker expects the full name. If you paste an http or https URL, it extracts the hostname; a URL path has no place in the DNS question.

The DNS checker supports A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS and DNSKEY. It asks one public Cloudflare resolver directly from the browser. There is no server-side proxy and no worldwide probe network behind the page. Treat the result as a precise answer to one question, not a complete audit of your domain.

What is the difference between A, AAAA and CNAME?

A records return IPv4 addresses and AAAA records return IPv6 addresses. A website can publish both, one or neither for a particular name. A correct A answer does not guarantee that a server is reachable at that address. Firewalls, web-server configuration, TLS and application behavior all remain outside a DNS lookup. The checker performs no HTTP request to the queried target.

CNAME records name an alias target. When you ask for A, the resolver can return a CNAME chain followed by an A record for the target. Every row must retain its actual type and owner name. I count requested A records separately from aliases so that a chain does not look like several independent addresses. A CNAME alone is not fabricated into a requested address.

An alias target can be a fully qualified name with a trailing dot in its displayed data. The expected-data comparison is textual: enter exactly what your DNS provider and the returned record show, apart from outer spaces. The tool does not normalize different IPv6 representations or remove meaningful quotation marks. A textual mismatch is evidence to inspect, not proof of a semantic difference.

Which DNS records control email?

MX data includes a preference number and exchanger hostname. Lower preference values are preferred for delivery attempts. If you use the expected-data field, include the complete displayed data, such as 10 mx.example.com. Finding an exchanger does not establish that a particular mailbox exists or that a message will avoid spam filtering. The DNS tool does not contact SMTP services.

TXT records can contain verification values and email-authentication policies. Query the exact owner name required by the service. An SPF record at example.com and a DMARC record at _dmarc.example.com answer different questions. The checker displays TXT data, but does not validate the policy syntax, follow SPF includes or confirm that a verifier has accepted the value.

TXT matching is case-sensitive and includes the displayed quoted string. If two strings look different, inspect the source and representation before editing either one. A provider’s presentation can differ from a resolver’s presentation even when the underlying purpose is the same. Do not paste private credentials into a public record merely to make a checker show a matching value.

What are NS, SOA, CAA and SRV records used for?

NS identifies nameservers; SOA describes zone administration and timing fields. These records are useful when figuring out which DNS provider is actually serving the zone. Editing a record at an old provider will not affect the authoritative zone if delegation points elsewhere. The checker does not change nameservers or inspect your registrar account; that evidence must come from the relevant administration systems.

CAA records express certificate-issuance policy. A returned CAA value is not a certificate inspection or a guarantee that HTTPS works. SRV records contain service location information including priority, weight, port and target. Their query names commonly include underscore service labels, such as _sip._tcp.example.com. Selecting SRV while querying only example.com may miss the record you intended to inspect.

The record-type table below is a reference to questions, not a configuration recipe. Your provider’s requirements and the target service determine the actual values. All example hostnames and documentation addresses are illustrative. I would not overwrite a live zone with sample data just because an example appears in a guide.

Reverse DNS and DNSSEC records

For PTR, reverse the IPv4 octets and append in-addr.arpa. The illustrative address 198.51.100.10 becomes 10.100.51.198.in-addr.arpa. IPv6 uses reversed hexadecimal nibbles under ip6.arpa. These records are normally managed by the address owner, so adding a forward A record does not create a PTR automatically.

DS connects a child zone to its parent’s DNSSEC chain of trust; DNSKEY publishes the zone’s public keys. I inspect both when checking a DNSSEC change. Finding a key is only part of the picture: the resolver’s AD flag indicates its authentication assertion for the answer. The checker displays that assertion alongside the records.

Does an empty DNS answer mean the domain does not exist?

NOERROR with no requested record is a successful but empty answer for that type. NXDOMAIN reports a missing queried name or, after a CNAME chain, a missing alias target. SERVFAIL and REFUSED are errors; a browser timeout or blocked request means no usable response was obtained. These states should not share one red “domain broken” label. They lead to different next checks and different degrees of certainty.

The tool shows the resolver’s AD flag only as a resolver assertion. This browser does not independently perform DNSSEC validation. The presence of AD does not validate your web page or email authentication policy. A malformed, truncated or oversized response is kept unknown rather than interpreted as a complete list of records.

After confirming the name, type and provider, examine the returned data and TTL together. Save a snapshot explicitly if you want a later record-set comparison. The saved comparison ignores row order and TTL changes, preserving the actual type, owner and data. Read the cache and changes guide before treating a different cached answer as a failed configuration.

Browser, resolver and returned record panels
One resolver answers one record question.
DNS examples at a glance
ObservationMeaning
A / AAAAIPv4 / IPv6 addresses
CNAMEAlias target
MXMail preference and target
TXTPublished text
NS / SOANameservers / zone data
CAA / SRVCertificate policy / service location

Sources: DNS record definitions and negative caching, IPv6 and reverse lookup names, and DNSSEC record definitions.

Once you have the full name and type, run a lookup and compare the complete returned data with your provider’s value. The DNS troubleshooting checklist explains what to check next for NXDOMAIN, an empty answer or SERVFAIL.

Frequently asked

Which name do I enter for DMARC?

Enter _dmarc followed by your full domain name, such as _dmarc.example.com, and choose TXT. The domain’s root TXT records answer a different question.

Why does an A lookup show a CNAME?

The name is an alias. The resolver can return the alias chain and the target’s A records together; the table preserves each row’s actual type.

What do I enter for a PTR lookup?

Enter the full reverse DNS name, such as 10.100.51.198.in-addr.arpa, and choose PTR. Raw IP addresses are not accepted in this checker.

Try the DNS checker

More posts