Every domain relies on DNS (Domain Name System) records to tell the internet where your website lives, where your email should go, and how various services verify ownership. Understanding the four most common record types demystifies most hosting and email setup tasks.
A Record
Points your domain directly to a specific IP address — the numeric address of the server hosting your website. This is the most fundamental record: yourdomain.com → 123.45.67.89 (your hosting server's address).
CNAME Record
Points a subdomain to another domain name rather than an IP address directly. Commonly used for "www.yourdomain.com" pointing to "yourdomain.com," or for third-party service subdomains (like a help desk or landing page builder subdomain).
MX Record (Mail Exchange)
Tells the internet where to deliver email for your domain. Multiple MX records with priority values allow backup mail servers — the lowest priority number is tried first. This is the record most commonly misconfigured during hosting or email migrations, causing mail delivery failures.
TXT Record
A flexible, general-purpose record used for verification and authentication — most commonly SPF (authorized senders), DKIM (email signing) and domain ownership verification for services like Google Search Console or Google Workspace.
A Practical Example Set
| Record type | Purpose | Example value |
|---|---|---|
| A | Website location | 123.45.67.89 |
| CNAME | Subdomain alias | www → yourdomain.com |
| MX | Mail delivery | mail.yourprovider.com |
| TXT | Verification/SPF | "v=spf1 include:..." |
A Few Less Common but Useful Record Types
Beyond the core four, three others come up often enough to recognize: an AAAA record is the IPv6 equivalent of an A record, increasingly relevant as more networks adopt IPv6; an NS record specifies which nameservers are authoritative for the domain (or a delegated subdomain); and a CAA record restricts which certificate authorities are permitted to issue SSL certificates for your domain, a small but genuine extra layer of protection against a certificate being wrongly issued to someone else for your name.
Where to Manage These Records
DNS management is usually available through your domain registrar or your hosting provider's cPanel, depending on where your nameservers point. Changes typically propagate within a few hours, occasionally up to 24-48 hours globally.
Frequently Asked Questions
What happens if I get an MX record wrong?
Email delivery to your domain fails or bounces — always verify carefully before saving mail-related DNS changes, and test immediately afterward.
Do I need to understand DNS to run a website?
Basic awareness helps you diagnose common issues and communicate clearly with support teams, even if you never edit records yourself.
Can one domain have multiple A records?
Yes — multiple A records for the same hostname is a simple form of load balancing, with DNS returning different server IPs to different visitors, though most small business sites only need one.
Need help with DNS configuration? See our domain services or ask our team for setup help.
Why Record Priority and TTL Values Also Matter
Beyond the record type and value, two other fields affect how records behave. MX records include a priority number, where a lower number is tried first — useful for specifying a primary mail server with a backup at a higher (less preferred) priority number. Every record also carries a TTL (time to live) controlling how long the value is cached before being re-checked, covered in depth in our DNS propagation guide; a record you plan to change soon benefits from a temporarily lowered TTL set in advance.