July 12, 2026 · 6 min read
DNS Records Explained: A, MX, TXT, CNAME and More
DNS is often described as 'the phonebook of the internet,' but in practice it's a set of different record types, each doing a specific job — and misunderstanding which one to use is one of the most common reasons a website or mailbox breaks after a change.
A / AAAA — Where Your Website Actually Lives
An A record points a domain to an IPv4 address; an AAAA record does the same for IPv6. This is the record that gets you from 'example.com' to the actual server hosting your site. Get this wrong and your entire site becomes unreachable.
CNAME — An Alias for Another Domain
A CNAME record points one domain to another domain name rather than an IP address directly — commonly used for subdomains pointing at a third-party service like a CDN or a hosted platform. A CNAME can't coexist with other records on the same name, which trips up a lot of people setting up subdomains.
MX — Where Email Should Be Delivered
MX (Mail Exchange) records tell the world which mail servers accept email for your domain, each with a priority number — lower numbers are tried first. A missing or misconfigured MX record is the single most common reason a domain's email suddenly stops arriving after a migration.
TXT — The Flexible, Catch-All Record
TXT records hold arbitrary text and are used for almost everything that isn't routing traffic: SPF and DMARC email authentication, domain ownership verification for services like Google Search Console, and general configuration data other systems look for.
NS — Who's Actually Answering DNS Queries
NS (Name Server) records declare which servers are authoritative for a domain's DNS. If these are wrong or inconsistent, changes you make elsewhere may simply never take effect, because the internet is still asking the wrong servers.
Check Your Setup
Nexora Shield's DNS Scanner pulls all of these record types for any domain in one lookup, making it easy to spot a stale record left over from an old host or a typo in an MX entry.
Ready to check your own website?
Run a Free ScanRelated Articles
PrivacyIs Your Email Address Safe? How to Check if It Has Been Leaked in a Data Breach (2026 Guide)
Learn how to check whether your email address has been exposed in a data breach, understand the risks, and follow practical steps to secure your online accounts
Phishing & MalwareI Clicked on a Phishing Link — What Should I Do? (Complete Recovery Guide 2026)
Accidentally clicked a phishing link? Learn exactly what to do if you entered your password, downloaded a file, or shared banking information. Step-by-step reco
Network SecuritySSL Certificate Checker: What Is SSL and Why Every Website Needs It
Search engines generally prefer secure websites, making HTTPS an important best practice for both security and user trust.