The Domain Name System (DNS) acts as the internet's phonebook, translating human-friendly domain names (like www.example.com) into computer-friendly IP addresses (like 192.0.2.1). Understanding the main DNS records helps you control where your domain points for web, email, and other services.
At Vertopia, we handle the technical side of DNS setup and delegation for you. This guide will demystify the most common records you might encounter.
Common DNS Records Explained
A Record (Address Record)
An A Record is the most basic and essential DNS record. It points your domain name directly to the unique IP address of the server where your website is hosted.
- Function: It connects your domain to your web hosting, making your website live.
- Analogy: Think of it as linking a person's name in your phone's contact list to their specific phone number.
- Example: To make
yourdomain.comload from a server with the IP address192.0.2.1, you'd set the A Record foryourdomain.comto that IP.
CNAME Record (Canonical Name)
A CNAME Record acts as an alias, pointing a domain or subdomain to another domain name instead of an IP address. This is useful for pointing multiple names to a single location.
- Function: It forwards one domain to another.
- Analogy: It’s like a sign on a house that says, "Mail for the Smiths' holiday home should be delivered to the Smiths' main house."
- Example: To make
www.yourdomain.compoint to the same place asyourdomain.com, you'd create a CNAME record for thewwwsubdomain that points toyourdomain.com.
MX Record (Mail Exchanger)
An MX Record directs all email for your domain to the correct mail servers. Without a valid MX record, your email address (you@yourdomain.com) won't be able to receive mail.
- Function: It tells the internet where to deliver your email.
- Analogy: It's like telling the post office that all letters addressed to your home should be sent to a specific P.O. Box.
- Example: When using a third-party email service like Microsoft 365, you would update your MX records to point to their mail servers (e.g.,
yourdomain-com.mail.protection.outlook.com).
TXT Record (Text Record)
A TXT Record is a versatile record that holds simple text. Its primary use is for verifying that you own your domain to external services.
- Function: It's used to prove domain ownership or for email security policies.
- Analogy: It's like placing a unique, secret code on your front door that only a specific company (like Google) knows to look for to confirm you own the house.
- Example: To verify your website with Google Search Console, you might be asked to create a TXT record with a unique value like
google-site-verification=123xyz....
If you ever need to add or update a DNS record for your domain, our support team is here to manage it for you. This ensures the changes are made correctly without disrupting your services.