DNS (Domain Name System) is like the internet's phone book - it translates friendly domain names into the IP addresses computers actually use. Let's demystify it!
Before we dive in, here's a quick primer on the different types of DNS records:
| Record Type | Purpose | Example |
|---|---|---|
| A | Points a domain to an IPv4 address | yourdomain.com → 192.168.1.1 |
| AAAA | Points a domain to an IPv6 address | yourdomain.com → 2001:0db8::1 |
| CNAME | Creates an alias to another domain | www → yourdomain.com |
| MX | Specifies mail servers | mail.yourdomain.com (priority 10) |
| TXT | Holds text information (SPF, DKIM, verification) | v=spf1 include:... |
| NS | Specifies nameservers | ns1.yourdomain.com |
| SRV | Service records for specific applications | Used for VoIP, XMPP, etc. |
| CAA | Specifies which CAs can issue SSL certificates | 0 issue "letsencrypt.org" |
[SCREENSHOT: The DNS management interface showing a list of DNS records with type, name, and value columns]
This points your domain (or subdomain) to an IP address:
@ for the root domainblog for blog.yourdomain.com[SCREENSHOT: Add A record form with name, IP address, and TTL fields]
This creates an alias pointing to another domain:
www)yourdomain.com)Important: You cannot have a CNAME record for the root domain (
@). Use an A record instead, or an ALIAS record if available.
Mail Exchange records tell the internet where to deliver your email:
mail.yourdomain.com)Typical MX setup:
Priority 10: mail.yourdomain.com
Priority 20: backup-mail.yourdomain.com (if you have backup mail)
[SCREENSHOT: MX record configuration with priority and mail server fields]
Text records are used for domain verification, email authentication, and more:
@ for root domain)To ensure your emails actually arrive (and don't end up in spam), you need three important TXT records:
Tells receiving servers which servers are allowed to send email from your domain:
Name: @ (or blank)
Type: TXT
Value: v=spf1 include:_spf.yourdomain.com ~all
Adds a digital signature to your emails:
Name: default._domainkey (or as provided)
Type: TXT
Value: v=DKIM1; k=rsa; p=MIGfMA0GCS... (your public key)
Tells receiving servers what to do with emails that fail SPF/DKIM checks:
Name: _dmarc
Type: TXT
Value: v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com
[SCREENSHOT: Example showing SPF, DKIM, and DMARC TXT records in the DNS zone]
Want shop.yourdomain.com or app.yourdomain.com? Here's how:
Point the subdomain directly to an IP:
shopPoint the subdomain to your main domain (useful if your IP might change):
shopyourdomain.com[SCREENSHOT: Editing a DNS record with the edit modal open]
Warning: Deleting essential records (like MX records) will break email delivery. Make sure you know what you're doing!
After making DNS changes, they don't take effect instantly. DNS propagation can take anywhere from a few minutes to 48 hours, depending on:
Use these tools to check if your DNS changes have propagated:
dig yourdomain.com or nslookup yourdomain.comIf you're using external DNS providers (like Cloudflare, Route53, or your registrar's DNS):
Next Steps: Keep your data safe with our Backups Guide.