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.
Each DNS record answers one kind of question about a name. These are the types that matter for a website and email.
| Type | Answers | Example value | Guide |
|---|---|---|---|
| A | Which IPv4 address is this name at? | 203.0.113.10 | A records: what they are and how to add one |
| AAAA | Which IPv6 address is this name at? | 2001:db8::10 | AAAA records and IPv6 explained |
| CNAME | Which other name is this an alias of? | yourdomain.co.uk | CNAME records: what they are and how to add one |
| MX | Which server receives this domain’s email? | 10 mail.yourdomain.co.uk | MX records: how email finds your mail server |
| TXT | What text data is published for this name? | v=spf1 ... | TXT records: what they’re for and how to add one |
| SRV | Which host and port provide a named service? | 10 5 443 host.example.com | SRV records explained |
| CAA | Which certificate authorities may issue SSL for this domain? | 0 issue "letsencrypt.org" | CAA records: controlling who can issue your SSL certificates |
| NS | Which nameservers are authoritative? | ns1.traxio.co.uk | What are nameservers? |
Names in DNS
@means the bare domain itself:yourdomain.co.uk.- A plain name like
wwwormailmeans 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 likewww.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?
- Add a DNS record and prove it works
Intermediate · 15 min
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.