DNS record types explained

A quick reference to the DNS record types you’ll meet — A, AAAA, CNAME, MX, TXT, SRV, CAA and NS — what each does and when you need it.

Guide2 min readLast updated
On this page
  1. Names in DNS
  2. What a Traxio-connected domain has by default
  3. Common questions

Each DNS record answers one kind of question about a name. These are the types that matter for a website and email.

TypeAnswersExample valueGuide
AWhich IPv4 address is this name at?203.0.113.10A records: what they are and how to add one
AAAAWhich IPv6 address is this name at?2001:db8::10AAAA records and IPv6 explained
CNAMEWhich other name is this an alias of?yourdomain.co.ukCNAME records: what they are and how to add one
MXWhich server receives this domain’s email?10 mail.yourdomain.co.ukMX records: how email finds your mail server
TXTWhat text data is published for this name?v=spf1 ...TXT records: what they’re for and how to add one
SRVWhich host and port provide a named service?10 5 443 host.example.comSRV records explained
CAAWhich certificate authorities may issue SSL for this domain?0 issue "letsencrypt.org"CAA records: controlling who can issue your SSL certificates
NSWhich nameservers are authoritative?ns1.traxio.co.ukWhat are nameservers?

Names in DNS

  • @ means the bare domain itself: yourdomain.co.uk.
  • A plain name like www or mail means that name under your domain.
  • A name ending in a dot, such as yourdomain.co.uk., is “fully qualified”. Without the dot, some editors append your domain automatically — a common cause of records like www.yourdomain.co.uk.yourdomain.co.uk. How to add, edit and delete DNS records in DirectAdmin

What a Traxio-connected domain has by default

With Traxio nameservers, DirectAdmin creates the records your site and email need: A records for the domain, www, mail and related names, MX records for email, and the NS records. You only add records for extra services.

Prefer to follow along?

Common questions

What DNS records does a normal website need?

An A record pointing the domain at your server, a record for www, and MX records if you receive email on the domain. If you use Traxio’s nameservers these are created for you — you only edit DNS when adding something extra.

The other records most sites end up with are TXT records: SPF, DKIM and DMARC for email authentication, plus verification records for services like Google Search Console.

Spotted something out of date or unclear? Tell us and we’ll fix it.

Keep going