twerple logo
Loading experience...
twerple logo

Common DNS records and how to set them up

1 min read • Updated 2 weeks ago • Domains & DNS

Ready-to-use DNS examples: your website, www, Google Workspace, Microsoft 365, domain verification and more.


These are the DNS records customers ask about most often. Add them in Domains → DNS Zones in HostPanel (see Managing DNS records). Replace example.com and the example IP address with your own.

Your website

PurposeTypeNameValue
Domain points to your hostingA@your server's IP address
www works tooCNAMEwwwexample.com
Subdomain hosted elsewhereCNAMEshopthe address your provider gives you

Your server's IP address is shown in the Quick Stats card on your HostPanel dashboard.

Email with Google Workspace

TypeNameValuePriority
MX@smtp.google.com1
TXT@v=spf1 include:_spf.google.com ~all

Email with Microsoft 365

TypeNameValuePriority
MX@the address Microsoft gives you, ending in mail.protection.outlook.com0
CNAMEautodiscoverautodiscover.outlook.com
TXT@v=spf1 include:spf.protection.outlook.com -all

When you move email to Google or Microsoft, delete the old MX records that point to your Twerple mail server, otherwise some messages may still arrive here. See Using Google Workspace or Microsoft 365 with your domain.

Proving you own the domain

Services such as Google Search Console, Facebook and Microsoft ask you to add a TXT record to prove the domain is yours. Add a TXT record with the name they give you (often @) and paste their text exactly as the value. Keep the record afterwards; some services check it again later.

Allowing SSL certificates (CAA)

A CAA record lists which companies may issue SSL certificates for your domain. You do not need one. If you add one, include Let's Encrypt, or your free certificate will stop renewing:

Type: CAA   Name: @   Value: 0 issue "letsencrypt.org"

Only one SPF record

A domain must have only one TXT record that starts with v=spf1. If you send email through several services, combine them into one record. See SPF, DKIM and DMARC explained.

Was this article helpful?