DNS record types compared
A, AAAA, CNAME, MX, TXT, NS, SOA, PTR, SRV and CAA side by side. Pick the ones you keep mixing up.
Networking dns Updated 7 Nov 2026
Pick two or three to compare.
Often mixed up:
Side by side
ACNAME
- Answers
- AWhich IPv4 address is this name at?
- CNAMEIs this name really another name?
- Holds
- AOne IPv4 address
- CNAMEAnother domain name
- Example value
- A93.184.215.14
- CNAMEstores.shopcloud.net.
- On the bare domain?
- AYes
- CNAMENo. Use your DNS host's ALIAS or CNAME flattening there instead.
- More than one per name?
- AYes. Several spread visitors across servers.
- CNAMENo. Exactly one, and nothing else on that name.
- Who reads it
- ABrowsers, apps, anything that connects
- CNAMEResolvers, which follow it to the end
- Common mistake
- AHard-coding a provider's IP that later changes. Point a CNAME at their name instead.
- CNAMEPutting an MX or TXT on the same name, or a CNAME on the bare domain.
Which to choose
Choose A if
- You run the server yourself and know its IPv4 address.
- The name is the bare domain, where a CNAME isn't allowed.
Choose CNAME if
- A provider gives you a name to point at, not an IP address.
- The name is a subdomain like www or shop, with no other records on it.
Our view: Most domains need only A (and AAAA), CNAME for subdomains that point at a provider, MX and a few TXT records for email, and CAA once you have certificates. The rest come with the hosting, or with running your own name servers.
#See each one working
Every record above has an animated walkthrough, from the question a resolver asks to the answer it gets back, in Every DNS record, shown working.