Glossary · Domains, DNS, email and certificates

What are DNS record types?

DNS record types define what kind of information a DNS entry holds, such as a website’s IP address, a domain’s mail servers or a text value used for verification. Every record has a name, a type, a value and a TTL.

How it works and why it matters

Records are published by the domain’s authoritative nameservers and cached by resolvers for the record’s TTL, in seconds, which is why changes take time to propagate.

A CNAME can’t sit at the root of a domain (example.com) next to the records that must be there, such as SOA and NS. Many DNS providers offer a flattened alias for that case.

Mistakes in these records cause outages that look like server failures: a wrong A record sends visitors elsewhere, a missing MX stops email, and a CAA record that leaves out your certificate authority blocks certificate renewals.

At a glance

Common DNS record types
Type Holds Example value Defined in
A An IPv4 address for the name 93.184.215.14 RFC 1035
AAAA An IPv6 address for the name 2606:2800:21f:cb07::1 RFC 3596
CNAME An alias: look up this other name instead shop.example.net. RFC 1035
MX A mail server for the domain, with a priority 10 mx1.example.com. RFC 1035
TXT Free text: SPF, DMARC, DKIM keys, site verification "v=spf1 -all" RFC 1035
NS The authoritative nameservers for the zone ns1.example.com. RFC 1035
SOA The zone’s primary server, contact, serial number and timers ns1.example.com. admin.example.com. 2026102601 … RFC 1035
CAA Which certificate authorities may issue certificates 0 issue "letsencrypt.org" RFC 8659
SRV Host and port of a service, such as SIP or XMPP 10 5 5060 sip.example.com. RFC 2782
PTR The name for an IP address (reverse DNS) mail.example.com. RFC 1035

How Uptimecheck helps

Uptimecheck DNS monitors check A, AAAA, CNAME, MX, NS, SOA, TXT and CAA records at the domain’s authoritative nameservers, alert when a record set changes, and fail when the answer doesn’t match the records you expect.

See DNS monitoring

14-day free trial · Then free on 20 monitors · No credit card

Read more in the guides

Guides 5 min read

How to Detect Changed or Hijacked DNS Records

A changed DNS record can send your visitors or email somewhere else without a single error. How DNS monitoring works, which records to watch and what to do when one changes.

Read

Questions

What is the difference between an A record and a CNAME?

An A record gives an IP address directly. A CNAME says the name is an alias of another name, whose records are then looked up instead.

Which DNS records do I need for email?

MX records to receive mail, a TXT record with SPF, DKIM keys as TXT records at selector._domainkey, and a DMARC TXT record at _dmarc.

What is a CAA record?

A record that lists the certificate authorities allowed to issue certificates for the domain (RFC 8659). Certificate authorities must check it before they issue one.

Hear it from us, not your customers.

Click around the live demo without an account, or start your trial and add your first monitor.

14-day free trial · Then free on 20 monitors · No credit card