Use Google Workspace or Microsoft 365 with your domain
Move your email to Google or Microsoft in one step, without breaking SPF.
Keep your website here and use Google Workspace or Microsoft 365 for email.
The quick way: a template
- Open DNS zone editor → Add a template.
- Choose Google Workspace mail or Microsoft 365 mail.
- Leave Replace my current MX and SPF records ticked, and click Add.
We add the provider's records first, then remove the old MX records, so no mail is lost in between. Your SPF record is updated in place: a domain may only have one.
Then, at the provider
- Google Workspace: in the Google Admin console, go to Apps → Google Workspace → Gmail → Authenticate email, generate a DKIM key, and add it here as a TXT record named
google._domainkey. Paste it exactly as Google shows it, quotes and all; we join the pieces correctly. - Microsoft 365: in the Microsoft Defender portal, turn on DKIM; it gives you two CNAME records,
selector1._domainkeyandselector2._domainkey. Add both here.
Verification records
Both providers ask you to prove you own the domain with a TXT record, such as google-site-verification=… or MS=ms12345678. Add it as a TXT record on @.
Adding records by hand
| Provider | Record | Value |
|---|---|---|
| Google Workspace | MX on @, priority 1 | smtp.google.com |
| Google Workspace | TXT on @ | v=spf1 include:_spf.google.com ~all |
| Microsoft 365 | MX on @, priority 0 | yourdomain-com.mail.protection.outlook.com |
| Microsoft 365 | CNAME autodiscover | autodiscover.outlook.com |
| Microsoft 365 | TXT on @ | v=spf1 include:spf.protection.outlook.com -all |
You can paste an MX as
1 smtp.google.comand the priority fills itself in.