DNS Records Explained 2026: A, CNAME, MX, TXT, and Nameservers for Beginners
DNS is the system that makes the internet usable by humans. Instead of typing 192.168.1.1 into your browser, you type yoursite.com and DNS translates it to the correct IP address. Understanding DNS records is essential for anyone who manages a website — whether you are pointing your domain to a new host, setting up professional email, or configuring a CDN. This guide explains every common DNS record type in plain English.
How DNS Works: The Simple Version
When someone types yoursite.com into their browser, here is what happens in milliseconds:
- 1.The browser asks a DNS resolver (usually operated by your ISP or a service like Cloudflare) for the IP address of yoursite.com
- 2.The resolver checks its cache. If it has the answer, it returns it immediately. If not, it queries the root DNS servers.
- 3.The root servers direct the resolver to the TLD nameservers (for .com domains, the .com TLD nameservers)
- 4.The TLD nameservers direct the resolver to your domain's authoritative nameservers (e.g., Bluehost's nameservers)
- 5.Your authoritative nameservers return the A record (IP address) for yoursite.com
- 6.The browser connects to that IP address and downloads your website
This entire process takes 10-200 milliseconds depending on caching and geographic distance.
The 6 DNS Record Types You Need to Know
A Record (Address Record)
What it does: Maps a domain name to an IPv4 address
Example: yoursite.com -> 192.168.1.1
When to use: Always. This is the most fundamental DNS record. Without an A record, your domain cannot connect to your web hosting server.
AAAA Record (IPv6 Address Record)
What it does: Maps a domain name to an IPv6 address
Example: yoursite.com -> 2001:db8::1
When to use: When your host supports IPv6. Bluehost on Oracle Cloud supports IPv6. AAAA records future-proof your domain as IPv4 addresses run out.
CNAME Record (Canonical Name)
What it does: Maps one domain name to another
Example: www.yoursite.com -> yoursite.com
When to use: For subdomains that should point to another domain. Common uses: www subdomain, CDN configuration, third-party services (Shopify, Blogger, Substack).
MX Record (Mail Exchange)
What it does: Tells email servers where to deliver email for your domain
Example: yoursite.com -> mail.yoursite.com (priority 0)
When to use: When you set up professional email. MX records point to your email provider's servers. Google Workspace, Pro Email, and Office 365 each have specific MX records you must add.
TXT Record (Text Record)
What it does: Stores text data in DNS. Used for verification, email authentication, and security.
Example: yoursite.com -> "v=spf1 include:_spf.google.com ~all"
When to use: Domain verification (Google Search Console, SSL providers), SPF records (email authentication), DKIM records (email signing), and DMARC policies.
Nameservers
What they do: Delegate all DNS management for your domain to a specific provider
Example: ns1.bluehost.com, ns2.bluehost.com
When to use: When you want a provider to manage all your DNS records. If you point nameservers to Cloudflare, Cloudflare manages all DNS. If you point them to Bluehost, Bluehost manages all DNS.
Get Hosting with Easy DNS Management
Bluehost's DNS Zone Editor makes DNS configuration simple. Free domain with hosting. Starting at $3.99/month. 30-day guarantee.
Get Bluehost →How to Configure DNS Records on Bluehost
- 1.Log into your Bluehost dashboard at my.bluehost.com
- 2.Navigate to Advanced > DNS Zone Editor
- 3.Select your domain from the dropdown
- 4.To add a record: select the record type (A, CNAME, MX, TXT), enter the host name and value, and click Add Record
- 5.To edit a record: find the existing record, click Edit, change the value, and save
- 6.Changes propagate within 1-4 hours on Bluehost (up to 48 hours globally)
DNS Propagation: Why Changes Take Time
When you change a DNS record, the update does not happen instantly worldwide. DNS resolvers cache records for a period called TTL (Time to Live). Until the TTL expires, resolvers continue serving the old record. This is why DNS changes can take 4-48 hours to propagate globally.
To minimize propagation time:
- →Lower the TTL to 300 seconds (5 minutes) 24 hours before making changes. This tells resolvers to check for updates more frequently.
- →Make your DNS changes after lowering TTL
- →Wait 48 hours before assuming the change is complete
- →Use whatsmydns.net to check propagation status globally
Common DNS Configurations
Pointing Domain to Bluehost Hosting
A record: @ -> [Bluehost server IP]
CNAME: www -> yourdomain.com
Setting Up Google Workspace Email
MX: @ -> aspmx.l.google.com (priority 1)
MX: @ -> alt1.aspmx.l.google.com (priority 5)
MX: @ -> alt2.aspmx.l.google.com (priority 5)
TXT: @ -> "v=spf1 include:_spf.google.com ~all"
Configuring Cloudflare CDN
Nameservers: ns1.cloudflare.com
Nameservers: ns2.cloudflare.com
# (Cloudflare imports your existing DNS records automatically)
For more guides, see our Domain Name Guide 2026, Domain Transfer Guide, and Cloudflare CDN Setup Guide.
Get Hosting with Easy DNS Management
$3.99/month. DNS Zone Editor. Free domain. Oracle Cloud. 99.99% uptime. 30-day guarantee.
Get Bluehost →What are you building?
Tell us about your project so we can match the perfect hosting plan.
Hosting Cost Calculator
See exactly how much you'll spend on hosting over time. Compare Bluehost vs popular alternatives and discover your potential savings.
Used to calculate transaction fees (Shopify charges 2% on sales)
Frequently Asked Questions
What is DNS?
DNS (Domain Name System) is the internet's phone book. It translates human-readable domain names (like yoursite.com) into computer-readable IP addresses (like 192.168.1.1). Without DNS, you would need to memorize IP addresses to visit websites.
What is an A record?
An A record maps a domain name to an IPv4 address. It tells browsers 'when someone visits yoursite.com, send them to this IP address.' This is the most fundamental DNS record — without it, your domain cannot connect to your web hosting server.
What is a CNAME record?
A CNAME (Canonical Name) record maps one domain name to another. For example, www.yoursite.com can be a CNAME pointing to yoursite.com. CNAMEs are commonly used for subdomains, CDN configuration, and third-party services like Shopify or Blogger.
What is an MX record?
An MX (Mail Exchange) record tells email servers where to deliver email for your domain. If you use Google Workspace, your MX records point to Google's email servers. If you use Bluehost's Pro Email, MX records point to Bluehost's email servers.
How do I change DNS records on Bluehost?
Log into your Bluehost dashboard, go to Advanced > DNS Zone Editor, select your domain, and add or edit DNS records. Changes typically propagate within 4-48 hours, though Bluehost's updates are usually live within 1-4 hours.
Ready to launch?
Get Bluehost from $3.99/month with a free domain, free SSL, and 30-day money-back guarantee.
Related Articles
How Much Does a Website Cost in 2026? Complete Breakdown for Every Budget
Complete website cost breakdown for 2026. Compare DIY, agency and custom builds. Domain, hosting, design, maintenance and hidden costs explained with real numbers.
How to Buy a Domain Name in 2026: Step-by-Step Guide for Beginners
Complete guide to buying a domain name in 2026. Learn how to choose, register and connect a domain. Get a free domain with Bluehost hosting and save money.
Best Web Hosting for Freelancers 2026: One Portfolio, More Clients
Freelancers need a fast, professional portfolio that ranks and converts. Here is the best web hosting for freelancers in 2026, with setup tips and pricing.