DroidCrunch
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact
Subscribe
No Result
View All Result
DroidCrunch
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact
Subscribe
DroidCrunch

DNS Records Explained: A, CNAME, MX and TXT, With Examples 2026

Lokesh Kapoor by Lokesh Kapoor
November 29, 2026
3
0

You open your domain’s DNS settings and find a table of A, CNAME, MX and TXT records with cryptic values and a TTL column nobody explains.

Each of those rows does one specific job. To show what that looks like on a real site, we looked up the live DNS records for droidcrunch.com and walked through every one.

You’ll learn what each record type does, when a CNAME beats an A record, and how to edit records safely.

What are DNS records?

DNS records are instructions stored on your domain’s DNS servers that tell the internet where to send traffic for that domain. Each record has a type, a name, a value and a TTL (time to live).

When someone visits your website or emails you, their device asks DNS servers for the right record. An A record answers “which IP address hosts this site?” An MX record answers “which server accepts this domain’s email?” If you want the full lookup journey, our guide on how DNS works traces a request step by step.

Records live in a DNS zone, the full set of records for one domain. You manage the zone wherever your nameservers point: your registrar, your host or a service like Cloudflare.

The common DNS record types at a glance

RecordWhat it doesExample value
APoints a name to an IPv4 address172.67.202.60
AAAAPoints a name to an IPv6 address2606:4700:3031::ac43:ca3c
CNAMEPoints a name to another namewww.github.com → github.com
MXSays which server receives email10 mx.zoho.com
TXTHolds text: verification, SPF, DMARCv=spf1 include:zoho.com ~all
NSNames the servers that run your DNSaria.ns.cloudflare.com
SOAZone admin details and timersCreated by your DNS host
CAALimits who can issue SSL certificates0 issue “letsencrypt.org”
You’ll edit A, CNAME, MX and TXT most often. The rest are usually set once.

Our test: the real DNS zone for droidcrunch.com

We queried every common record type for our own domain using Google’s public DNS lookup. Here’s what came back, with long verification codes shortened.

TypeNameValueTTL
NSdroidcrunch.comaria.ns.cloudflare.com, ned.ns.cloudflare.com21600
Adroidcrunch.com172.67.202.60 and 104.21.22.36300
AAAAdroidcrunch.com2606:4700:3031::ac43:ca3c and 2606:4700:3037::6815:1624300
AwwwSame two addresses as the root300
MXdroidcrunch.com10 mx.zoho.com, 20 mx2.zoho.com300
TXTdroidcrunch.comv=spf1 include:_spf.mlsend.com include:zoho.com ~all300
TXTdroidcrunch.comgoogle-site-verification=…, ahrefs-site-verification_…, brevo-code:…300
TXT_dmarcv=DMARC1; p=none; rua=mailto:…3600
CAAdroidcrunch.comNone setn/a
Looked up through Google Public DNS. TTL is in seconds.

NS says Cloudflare runs our DNS. A and AAAA point to Cloudflare’s network, which sits in front of our host. MX sends email to Zoho. And the TXT records hold our email authentication rules plus three ownership checks for Google, Ahrefs and Brevo.

Let’s go through each type.

DNS record types and what each does: NS, A, CNAME, MX and TXT records explained in one table
The same five record types appear in the live zone for droidcrunch.com, which we looked up for this guide.

A record: domain to IPv4 address

An A record maps a domain or subdomain to an IPv4 address, such as 172.67.202.60. It’s the record that makes your website load.

Our domain returned two A records. That’s normal behind a network like Cloudflare, which gives you several addresses so traffic has more than one path. On a plain shared hosting plan, you’d usually see one A record pointing to your server’s IP.

Use an A record when your host gives you an IP address. Hostinger, for example, shows it in the hosting dashboard, and you paste it into the A record for your domain.

AAAA record: domain to IPv6 address

An AAAA record does the same job as an A record for IPv6 addresses, the longer format such as 2606:4700:3031::ac43:ca3c. We had two of those too.

You only need one if your host supports IPv6. Devices that prefer IPv6 use it, and everyone else falls back to the A record. Our guide to IPv4 vs IPv6 explains the difference.

CNAME record: one name pointing to another

A CNAME (canonical name) record points one hostname at another hostname instead of an IP address. It says “this name is an alias; go look up that one.”

A clear example: www.github.com has a CNAME pointing to github.com, which then has the A record with the IP address. Change GitHub’s IP once, and both names follow.

CNAMEs are how most third-party services connect to your domain. Shops, help desks, landing page builders and email tools often ask you to create something like shop as a CNAME pointing to their hostname.

Our own www returned A records directly, with no CNAME visible. That’s Cloudflare’s proxy at work: it answers with its own addresses and hides whatever sits behind.

CNAME vs A record: which should you use?

Use an A record when you have an IP address. Use a CNAME when a service gives you a hostname, or when you want one name to follow another automatically.

Two rules trip people up:

  • A CNAME can’t sit on the root domain (example.com) in standard DNS, because the root also needs NS and SOA records, and a CNAME can’t share a name with other records. Cloudflare and some other DNS hosts work around this with “CNAME flattening”.
  • A CNAME can’t share its name with any other record. If shop is a CNAME, it can’t also have an MX or TXT record.

MX record: where your email goes

An MX (mail exchanger) record tells other mail servers which server accepts email for your domain. Each MX record has a priority number; lower numbers are tried first.

Ours has two: mx.zoho.com at priority 10 and mx2.zoho.com at priority 20. If the first is down, mail goes to the second. Google Workspace and Microsoft 365 work the same way with their own hostnames.

An MX record must point to a hostname, never directly to an IP address. If your email suddenly stops arriving after a DNS change, a missing or wrong MX record is the first thing to check.

TXT record: verification and email security

A TXT record stores text that other services read. It does two main jobs: proving you own a domain and publishing email security rules.

Our zone had four TXT records on the root domain:

  • SPF: v=spf1 include:_spf.mlsend.com include:zoho.com ~all. It lists who may send email as droidcrunch.com: our newsletter tool and Zoho.
  • Google, Ahrefs and Brevo verification codes. Each service asked us to add a unique code to prove we control the domain.

There was one more TXT record on a subdomain, _dmarc.droidcrunch.com: v=DMARC1; p=none. That’s our DMARC policy, which tells receiving servers what to do with mail that fails SPF and DKIM checks. A p=none policy means “monitor only and send reports”, a sensible starting point before moving to quarantine or reject.

Our SPF, DKIM and DMARC setup guide walks through each of these, and email deliverability explained covers why they decide whether you land in the inbox.

DKIM: the keys you can’t see in a normal lookup

DKIM (DomainKeys Identified Mail) is the third email record, and it’s easy to miss. A sending service signs each message with a private key. The matching public key sits in a TXT record at a name like selector._domainkey.yourdomain.com.

The catch is the selector. DNS has no way to list every name in a zone, so you can only find a DKIM key if you know or guess its selector. We tried 13 common ones against our domain and found five keys:

SelectorWhat answeredUsed by
zohoTXT key, 1024-bitZoho Mail
defaultTXT key, 2048-bitUnknown: an older tool
litesrvCNAME to MailerLite’s serverMailerLite newsletters
brevo1CNAME, then CNAME, then keyBrevo
brevo2CNAME, then CNAME, then keyBrevo (second key)
Selectors found on droidcrunch.com out of 13 common names we tried

Two things stood out. MailerLite and Brevo don’t store their keys in our zone at all. We publish a CNAME that points at their servers, so they can rotate keys without asking us to edit DNS. Brevo’s chain was two CNAMEs deep before it reached the actual key.

The default selector was the puzzle. It holds a 2048-bit key, but nothing in our zone says which tool created it. That’s normal on an older domain: records outlive the services that needed them. Before deleting a record like that, check every tool that sends mail as your domain.

Counting SPF lookups

SPF has a hard limit that catches growing businesses out: a receiving server will follow at most 10 DNS lookups while checking one SPF record. Every include, a, mx or redirect counts, including the ones nested inside the services you include. Go over, and SPF fails for every email you send.

We wrote a short script to follow our own SPF record down every branch:

spf-lookups.txt Plain text
droidcrunch.com | v=spf1 include:_spf.mlsend.com include:zoho.com ~all
  lookup | _spf.mlsend.com
  _spf.mlsend.com | ip4 ranges only
  lookup | zoho.com
  zoho.com | v=spf1 include:spf.zoho.com include:zcsend.net include:spf.zohomail.com include:popspf.zohomail.com -all
    lookup | spf.zoho.com
    spf.zoho.com | ip4 ranges only
    lookup | zcsend.net
    zcsend.net | ip4 ranges only
    lookup | spf.zohomail.com
    spf.zohomail.com | ip4 ranges only
    lookup | popspf.zohomail.com
    popspf.zohomail.com | ip4 ranges only
droidcrunch.com DNS lookups: 6 of 10 allowed

Our record uses 6 of the 10 lookups. MailerLite’s include costs one. Zoho’s costs five, because zoho.com includes four more records of its own. Add two or three more email tools with nested includes, and we’d hit the wall without touching a single visible setting.

Notice that Brevo isn’t in our SPF at all. Its mail can still pass DMARC through its DKIM signature, because DMARC needs only one of SPF or DKIM to pass and match the domain.

CNAME vs A record: an A record points straight to an IP address, a CNAME points to another hostname first
From our lookup: www.github.com is a CNAME for github.com, which holds the A record. Change one IP and both names follow.

NS record: who runs your DNS

NS (nameserver) records say which servers hold the authoritative DNS zone for your domain. Ours point to aria.ns.cloudflare.com and ned.ns.cloudflare.com.

This is the record that decides where you edit everything else. If your NS records point to Cloudflare, changes made at your registrar or host do nothing. That’s the most common reason “my DNS change isn’t working.”

SOA, CAA, SRV and PTR records

A few other types show up in DNS panels:

  • SOA (start of authority) holds admin details for the zone, such as the primary nameserver and timing values. Your DNS host creates it; you rarely touch it.
  • CAA lists which certificate authorities may issue SSL certificates for your domain. We don’t have one, which is common, but it’s a cheap extra layer of protection.
  • SRV points specific services, such as calling or chat apps, to a host and port.
  • PTR does reverse lookups, mapping an IP back to a name. It’s set by whoever owns the IP, usually your host, and matters for mail servers.

HTTPS records: the newer type in your zone

Our lookup turned up one record most guides don’t mention yet: an HTTPS record (type 65). Cloudflare publishes it for us automatically:

1 . alpn=h3,h2 ipv4hint=104.21.22.36,172.67.202.60 ech=…

It tells browsers, before they connect, that the site supports HTTP/3 (h3) and HTTP/2, gives them the IP addresses up front, and carries a key for Encrypted Client Hello. Browsers that read it can skip a round trip and start on HTTP/3 straight away.

You don’t need to create one by hand. If your DNS host or CDN adds it, leave it alone.

When a record doesn’t exist: NXDOMAIN vs an empty answer

DNS has two different ways of saying “nothing here”, and they point to different problems.

What we askedStatusMeaning
shop.droidcrunch.com, A3 (NXDOMAIN)The name doesn’t exist
droidcrunch.com, CAA0, no answersName exists, no record of this type
droidcrunch.com, MX0, two answersRecords found
Lookups through Google Public DNS

NXDOMAIN means the name itself doesn’t exist. We asked for shop.droidcrunch.com, which we never created, and got status 3. A browser shows that as DNS_PROBE_FINISHED_NXDOMAIN.

An empty answer means the name exists but has no record of that type. Our root domain has A, MX and TXT records but no CAA, so the CAA lookup came back with status 0 and no answers.

The difference saves time when something breaks. NXDOMAIN usually means a typo in the name, a record that was never added, or nameservers pointing at the wrong zone. An empty answer means you added the wrong type, such as a CNAME where the service checks for TXT.

What is TTL in DNS records?

TTL (time to live) is how many seconds other DNS servers may cache a record before checking again. Our A and MX records have a TTL of 300 seconds, five minutes. Our NS records use 21,600 seconds, six hours.

A lower TTL makes changes reach visitors faster, at the cost of more lookups. Before a planned move, such as switching hosts, lower the TTL a day early. After the move settles, you can raise it again.

A worked example: the records for a new site with business email

Here’s the full set of records you’d create for a new site, example.com, hosted on a server at 203.0.113.10 with Google Workspace for email. The IP and codes are placeholders; your host and email provider give you the real values.

TypeNameValueWhy
A@203.0.113.10Loads the website
CNAMEwwwexample.comwww follows the root
MX@smtp.google.com, priority 1Receives email
TXT@v=spf1 include:_spf.google.com ~allSPF: who may send
TXTgoogle._domainkeyKey from the Google Admin consoleDKIM signing
TXT_dmarcv=DMARC1; p=none; rua=mailto:[email protected]DMARC, report only
TXT@google-site-verification=…Proves you own the domain
CAA@0 issue "letsencrypt.org"Optional: limits who issues SSL
A typical starting zone; values are examples

That’s eight records for a working site with authenticated email. Most of them are copy-and-paste from your host and email provider. The two you decide yourself are the DMARC policy (start with p=none) and whether www is a CNAME or its own A record.

Order matters a little. Add the MX, SPF and DKIM records before you switch on email at the provider, so the first messages you send are already authenticated. Add DMARC last, once a test email passes SPF and DKIM.

Common DNS record mistakes and how to fix them

These cause most of the “my DNS is broken” moments:

MistakeWhat you’ll seeFix
Two SPF records on one nameSPF fails for all mailMerge them into one v=spf1 record
Editing DNS at the registrar when NS points elsewhereChanges never show upEdit at the provider your NS records name
Typing the full domain in the name fieldRecords like www.example.com.example.comEnter only www or @
CNAME on the root domainPanel refuses it, or other records breakUse an A record, or your host’s flattening
MX pointing at an IP or a CNAMEMail bounces or delaysPoint MX at a hostname with an A record
Mail hostname proxied through a CDNEmail apps can’t connectSet that record to DNS only
Over 10 SPF lookupsSPF permerror, more spam-folder mailDrop unused includes
Deleting an unknown TXT recordA tool stops verifying or signingCheck which service owns it first

One more from our own zone is worth a look. mail.droidcrunch.com returns Cloudflare’s proxy addresses. Our mail runs on Zoho, so nothing depends on it, but on a site that hosts its own mail, a proxied mail hostname breaks email apps. Cloudflare’s proxy passes web traffic, not IMAP or SMTP, so mail records need the grey “DNS only” cloud.

How to check your own DNS records

You don’t need special software. Three ways work on any computer:

check-dns.sh Bash
# Mac or Linux
dig +short MX droidcrunch.com
dig +short TXT _dmarc.droidcrunch.com

# Windows
nslookup -type=TXT droidcrunch.com

# Any browser
https://dns.google/resolve?name=droidcrunch.com&type=MX

The dig command is built into Mac and Linux. On Windows, nslookup does the same job. And any browser can query Google’s public resolver directly with a URL like the last line, which returns the answer as JSON.

When you’re checking a change, query a public resolver rather than your own router. Your router may still hold the old answer in its cache until the TTL runs out.

How to add or edit DNS records

How to add a DNS record

The same steps work at Hostinger, Cloudflare, GoDaddy or Namecheap.

  1. 1
    Step 1 of 5

    Find where your DNS is hosted

    Look up your domain’s NS records with any DNS lookup tool. Edit records at that provider, not wherever you bought the domain.

  2. 2
    Step 2 of 5

    Open the DNS zone editor

    It’s usually called DNS Zone, DNS Records or Manage DNS in the domain settings.

  3. 3
    Step 3 of 5

    Choose the record type

    Pick A, CNAME, MX or TXT based on what the service asked for. Copy the value exactly, with no extra spaces.

  4. 4
    Step 4 of 5

    Set the name

    Use @ for the root domain, or the subdomain alone, such as www or shop. Most panels add your domain automatically.

  5. 5
    Step 5 of 5

    Save and verify

    Leave TTL on the default unless you’re planning a move. Then check the record with a public DNS lookup before asking the service to verify it.

Most changes reach the majority of visitors within minutes to a few hours, depending on the old TTL. If a site still doesn’t load, our guide to DNS_PROBE_FINISHED_NXDOMAIN errors covers the usual causes.

Heads-up: our Hostinger link is an affiliate link. If you buy through it, DroidCrunch earns a commission at no extra cost to you.

If you’re setting up a new site, Hostinger includes a DNS zone editor in its dashboard, so you can manage A, CNAME, MX and TXT records in one place. Our Hostinger coupon codes page lists current discounts, and how web hosting works explains where DNS fits in.

Frequently asked questions

What is CNAME flattening?

CNAME flattening lets you point a root domain at a hostname, which standard DNS doesn’t allow. The DNS host looks up the target itself and answers with the final IP addresses. Cloudflare does this by default, and other providers offer it as ALIAS or ANAME records.

Should I use @ or my full domain name in DNS records?

Use @ for the root domain in most DNS panels, since they add your domain automatically. Typing the full domain into the name field can create a record like example.com.example.com. For subdomains, enter only the part before your domain, such as www.

How long do DNS changes take to work?

It depends on the old record’s TTL. With a TTL of 300 seconds, most visitors see the change within minutes. Records with long TTLs, or nameserver changes at the registry level, can take up to a day or two to reach everyone.

Do I need an MX record if I don’t use email on my domain?

No, but without one nobody can email your domain. Some owners add a null MX record, a single MX with priority 0 and a value of a dot, to state clearly that the domain accepts no mail.

Can I have more than one TXT record?

Yes, and most domains do. You can have separate TXT records for Google verification, SPF and other services. The exception is SPF: a domain should have only one SPF record, with every sender listed inside it.

Where do I find my DNS records?

Use any public DNS lookup tool to see your live records, or log in to the provider your NS records point to. That’s often your registrar, your host or Cloudflare. The provider’s zone editor is where you add or change them.

What happens if I delete the wrong DNS record?

Whatever relied on it stops working. Deleting an A record takes your site offline; deleting MX stops incoming email. Before editing, take a screenshot or export of your zone so you can restore any record exactly.

The bottom line

Every DNS record answers one question. A and AAAA say where the site lives, CNAME points one name at another, MX routes email, TXT proves ownership and publishes email rules, and NS says who’s in charge of the rest.

Our own zone shows the pattern most sites follow: Cloudflare for DNS, a separate email provider in MX, and a growing pile of TXT records as you add tools.

Before you edit anything, check your NS records so you change the zone that’s actually live.

Summarize this article with AI

Get the key points in seconds. Pick an assistant and it opens in a new tab, ready to go.

ChatGPTClaudePerplexityGoogle AIGrokMistral

Opens in a new tab. Nothing is shared until you pick an assistant.

Share4Tweet2Share1Share
Previous Post

What Is Lead Scraping? How to Build a Lead List Legally 2026

Lokesh Kapoor

Lokesh Kapoor

I am Lokesh Kapoor who loves to write blogs, create videos and watch sci-fi movies on Netflix and Jio Cinema. DroidCrunch is my first love and a crucial part of my life.

Related Posts

What is lead scraping: illustration of map pins turning into rows in a lead list

What Is Lead Scraping? How to Build a Lead List Legally 2026

November 28, 2026
298
Web crawler vs web scraper: title card showing a map of linked pages leading to one page turned into a data table

Web Crawler vs Web Scraper: What’s the Difference? 2026

November 28, 2026
300
Playwright vs Selenium vs Puppeteer: title card with three browser windows compared on the same job

Playwright vs Selenium vs Puppeteer: Which Should You Use? 2026

November 28, 2026
299
Hostinger coupon codes title card: a checkout card with COUPONSPAGE applied and Premium at $1.89 a month

Hostinger Coupon Codes 2026: Latest Discount Offers

November 28, 2026
321
Load More

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

DroidCrunch

Tested first. Then written.

Independent software reviews since 2016. Search the archive, or start with a topic.

WordPressAI toolsHostingVPNSEO
  • 640+reviews, comparisons and guides
  • 243product reviews
  • 36topics covered
  • 2016publishing since
home

An independent tech blog and YouTube channel. We use every tool before we rate it, and we always tell you the catch.

Topics

  • WordPress
  • AI tools
  • Hosting
  • SEO
  • VPN
  • Proxies
  • Automation

Company

  • About DroidCrunch
  • Editorial policy
  • Affiliate disclaimer
  • Write for us
  • Contact

Explore

  • All articles
  • Reviews
  • Deals and coupons
  • Black FridayLive
  • Facebook group
  • Help and support

Recently scored

  • miniOrange Secure MCP Server75%
  • Royal MCP80%
  • WPVibe76%
  • Zapier82%
All reviews

Reader-supportedWhen you buy through our links, we may earn a commission at no extra cost to you. It never changes our verdicts. Read our affiliate disclaimer.

© 2026 DroidCrunch. Independent since 2016.

  • Privacy policy
  • Terms
  • Cookie policy
  • Your GDPR rights
  • RSS
Back to top

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
Subscribe
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact

© 2026 DroidCrunch - Best Place for Tech NomadPrivacy PolicyTerms & ConditionsCookie PolicyGDPR RightsAffiliate Disclosure

DroidCrunch Giveaway

Amazon Gift Card worth $15

Participate now and get a chance to become a lucky winner to receive the reward.​

Join Giveaway