Every site owner eventually opens their DNS settings for some reason — pointing a domain to a new host, setting up email, adding a verification record for some third-party tool — and finds a table full of cryptic abbreviations with no explanation attached. A record, CNAME, MX, TXT, each one doing something different, and getting one wrong can take your site or your email offline without any obvious error message pointing at the cause.
This is the explanation I wish existed the first time someone handed me access to a DNS panel and said “just point it to the new server.” None of this is complicated once it’s explained plainly. It’s just rarely explained plainly.
What DNS Is Actually Doing, in One Paragraph
DNS translates human-readable domain names into the information computers actually need to find things — primarily IP addresses, but also mail server locations and other configuration details. When you type a domain into a browser, your computer queries DNS to find out where that domain’s content actually lives, then connects directly to that location. Every record type below is just a different kind of answer to a different kind of question.
The A Record: Where Your Site Actually Lives
An A record points a domain or subdomain directly to an IPv4 address. This is the most fundamental record type — it’s what tells the internet which physical server your main website lives on. When you move hosting providers, updating your A record to point at the new server’s IP address is usually the central step in the migration.
A related type, the AAAA record, does the same job but points to an IPv6 address instead, which is increasingly common alongside A records as IPv6 adoption grows.
The CNAME Record: An Alias, Not a Destination
A CNAME record points one domain name to another domain name, rather than directly to an IP address. It’s commonly used for subdomains — pointing a subdomain to your main domain, or to a third-party service’s domain (a help desk platform, a CDN endpoint) without needing to know or manage that service’s underlying IP address directly. If the service changes its own servers, your CNAME keeps working because it’s pointing at their domain name, not a specific address that could change.
One important rule: a domain’s root (the bare domain itself, without any subdomain) generally cannot use a CNAME record alongside other record types at that same level, due to how DNS standards are structured. This is why root domain redirects to services sometimes require a workaround, like the provider offering an “ALIAS” or “flattened CNAME” record type instead.
MX Records: Where Your Email Actually Goes
Mail Exchange, or MX, records tell the internet which mail servers are responsible for receiving email sent to your domain. If you’ve ever switched email providers and suddenly stopped receiving messages, an incorrect or missing MX record is almost always the cause. MX records include a priority value, letting you specify a primary mail server and backup servers that get tried if the primary doesn’t respond.
| Record Type | What It Does | Common Use Case |
|---|---|---|
| A | Points a domain to an IPv4 address | Main website hosting location |
| AAAA | Points a domain to an IPv6 address | IPv6-enabled hosting |
| CNAME | Points a domain to another domain name | Subdomains, third-party services |
| MX | Specifies mail servers for a domain | Email delivery |
| TXT | Stores arbitrary text data | Domain verification, SPF, DKIM |
| NS | Specifies authoritative name servers | Delegating DNS management |
TXT Records: The Flexible Catch-All
TXT records store arbitrary text data attached to a domain, and they’ve become the default mechanism for all sorts of verification and email authentication purposes. SPF records, which specify which mail servers are authorized to send email on behalf of your domain, are TXT records. DKIM records, which add a cryptographic signature helping receiving mail servers verify a message wasn’t tampered with, are also TXT records. Domain ownership verification for various third-party tools and platforms frequently works by asking you to add a specific TXT record as proof you control the domain.
Because TXT records are so multi-purpose, it’s common for a domain to accumulate several of them over time from different services, and losing track of which one does what makes future cleanup confusing. Keep a simple running note of what each TXT record is for and which service added it.
NS Records: Who’s Actually in Charge of Your DNS
Nameserver, or NS, records specify which servers are authoritative for answering DNS queries about your domain. This is a layer above the individual record types — it determines where all those other records (A, CNAME, MX, TXT) actually live and get managed. When people talk about “pointing your domain” to a new DNS provider, as opposed to just changing an A record, they usually mean updating the NS records at your domain registrar to delegate DNS management to a different provider entirely.
Propagation Time Is Real, and the Anxiety Around It Is Usually Overblown
DNS changes don’t take effect everywhere instantly. Each record has a Time to Live, or TTL, value that tells other DNS servers how long they’re allowed to cache a previous answer before checking for an updated one. Lower TTL values mean faster propagation of changes but slightly more DNS query load; higher values mean slower propagation but less overhead.
In practice, most changes propagate within a few minutes to a few hours, with the full window (up to the maximum TTL, occasionally up to 48 hours in edge cases) being a worst-case estimate rather than the typical experience. If you’re planning a significant change like a hosting migration, lowering the TTL on relevant records a day or two beforehand can meaningfully shorten the actual cutover window.
Frequently Asked Questions
Why does my site show the old content even after I updated my A record? This is almost always DNS propagation delay or a local browser or ISP-level DNS cache still holding the old answer. Clearing your own device’s DNS cache or testing from a different network can confirm whether it’s actually resolved elsewhere already.
Can I have multiple A records for the same domain? Yes, multiple A records for one domain is a legitimate setup used for basic load balancing or redundancy, where DNS returns different IP addresses to different requests.
Do I need to touch MX records if I’m just changing web hosting? No. MX records control email delivery specifically and are independent of where your website itself is hosted. Changing your A record for hosting doesn’t affect email unless you’re also changing email providers.
What happens if I accidentally delete an important DNS record? Whatever that record pointed to becomes unreachable through that domain until it’s restored — email stops arriving, a subdomain stops resolving, or the main site goes offline, depending on which record was removed. Most DNS panels keep some change history, but it’s worth noting your current records before making bulk changes.
Is it risky to switch DNS providers? Not inherently, but it requires carefully copying every existing record over before updating your nameservers, since a missed record (especially MX or a less obvious TXT record) can cause a quiet outage that’s hard to immediately trace back to the DNS switch.
Next Step
Before your next hosting or email migration, export or screenshot your complete current DNS record set as a backup reference. It takes two minutes and turns a stressful troubleshooting session into a quick comparison if anything looks wrong afterward.
By HostVexora Editorial · Updated November 14, 2026
- dns records
- domain management
- dns explained