THE REFERENCE

DNS Record Types Explained: A, AAAA, MX, NS, TXT and CNAME

Choose the right DNS record lookup for website addresses, mail routing, nameservers and TXT verification, with values and limitations explained.

A DNS record belongs to a name and has a type, a value and usually a TTL. The same name can have several types, and one type can return several answers. This checker keeps each returned value and its TTL rather than replacing a set of answers with a single guessed result.

For the resolution process behind these answers, start with how DNS works.

Which DNS record should you check for your task?

  • Website pointing to an old IP: inspect A and AAAA for the exact apex or subdomain with the bulk DNS lookup.
  • Nameservers different after a migration: compare the assigned set with returned NS records, then investigate delegation separately.
  • Incoming email routed incorrectly: inspect exchange hostnames, preferences and addresses with the MX checker.
  • Verification token missing: query TXT at the service’s exact ordinary hostname; use a suitable client for underscore-prefixed names.
  • SPF dependency or duplicate-policy warning: inspect SPF configuration rather than treating any TXT response as a valid policy.
  • Missing or inherited DMARC policy: use DMARC policy discovery, entering the ordinary From domain.

These checks examine published configuration. None is a substitute for testing the affected website or email service.

A: IPv4 addresses

An A record maps a name to an IPv4 address, such as the documentation-only address 192.0.2.10. Several addresses may support distribution or redundancy. A successful DNS answer does not prove that a server at that address is accepting HTTP connections.

When moving a website, query both the apex and the exact hostname people visit. A proxy or content delivery network may intentionally return its own addresses instead of your hosting server’s address.

AAAA: IPv6 addresses

An AAAA record maps a name to an IPv6 address, such as the documentation-only 2001:db8::10. IPv4 and IPv6 are configured independently. A correct A record does not make an incorrect AAAA record harmless: clients that use IPv6 may reach a different destination or fail to connect.

Inspect both types when a website works for some networks but not others. If no AAAA record is returned, that alone does not mean the name is missing from DNS.

MX: mail routing and preference

MX values contain a numeric preference followed by a mail server hostname. In the illustrative value 10 mail.example.com., 10 is the preference and mail.example.com. is the exchange. Lower numbers are preferred. Multiple records can describe alternative delivery destinations.

The special value 0 . is a null MX declaration indicating that the domain accepts no email. It should not be mistaken for a broken hostname. The MX checking guide walks through the important edge cases.

NS: published name servers

NS records identify authoritative name servers for a zone. A recursive lookup of NS at a domain usually reflects records from the zone, possibly cached. It does not independently audit the parent zone’s delegation, glue records, or the consistency of every authoritative server.

After switching DNS providers, check the registrar’s delegation and the records published by the new DNS provider. A nameserver mismatch between parent delegation and child-zone records can cause confusing results. Do not assume that names resembling a familiar company prove that the configuration is correct.

Use the Bulk NS Checker to compare an assigned nameserver set across multiple domains. A recursive set match still does not replace a parent-delegation check.

TXT: exact text, including quoted segments

TXT records carry text used for ownership verification, SPF and other policies. A response may contain several distinct TXT records. A single TXT record can itself contain several quoted character strings. Keep the original TXT grouping and escaping when troubleshooting; stripping quotes or joining unrelated records can change the meaning.

The general DNS checker displays the resolver’s presentation string and does not interpret TXT output as successful email authentication. Use the Bulk SPF Checker for policy syntax and dependency inspection, or the Bulk DMARC Checker for direct and inherited policies. The general checker rejects underscore labels; the dedicated DMARC tool accepts an ordinary domain and constructs its _dmarc lookup internally. See DMARC record not found troubleshooting when the expected policy does not appear.

CNAME: an alias to another name

A CNAME points one name at a canonical name. An address lookup may include a CNAME followed by address records for its target; the checker displays the records matching the type you requested. Choose CNAME explicitly to inspect the alias itself.

A CNAME generally cannot coexist with other ordinary data at the same name. Providers sometimes offer apex alias or flattening features that return addresses without publishing a CNAME. Those provider features should not be confused with a standard CNAME record.

Read the record without over-interpreting it

TTL is reported in seconds. A missing TTL remains blank in export and appears as a dash in the interface. A record lookup is a snapshot through one recursive resolver, not a full zone transfer, a registration check, or proof that every application is healthy.

For record definitions, consult RFC 1035, IPv6 DNS extensions in RFC 3596, and null MX in RFC 7505.

Use the Bulk MX Checker to inspect priorities, Null MX, possible implicit address fallback, visible mail-routing providers and exchange address records across a domain list. It checks DNS configuration, not SMTP connectivity or delivery.