Email authentication is the ID check of the inbox. Before Gmail or Outlook decides whether your email is wanted, it checks whether it's really from you. Fail that check and nothing else matters: your mail goes to spam or gets rejected.
Every cold email domain needs four DNS records. Here's what each one does, the values to use on Google Workspace and Microsoft 365, and how to check the whole setup in two minutes.
The short version: set up MX so replies reach you, SPF to list who may send for your domain, DKIM to sign every email, and DMARC to tie them to the address in your From line. Gmail requires every sender to use SPF or DKIM, and senders of more than 5,000 emails a day to Gmail or Outlook.com must have all three.
The four records at a glance
| Record | What it does | Where it goes |
|---|---|---|
| MX | Says where to deliver email for your domain, so replies reach you | The domain root, often shown as @ |
| SPF | Lists the servers allowed to send email for your domain | A TXT record at the root |
| DKIM | Signs each email, proving your domain sent it and nobody changed it | A TXT or CNAME record under _domainkey |
| DMARC | Checks that SPF or DKIM matches your From address, and says what to do when they fail | A TXT record at _dmarc |
MX: so replies reach you
The MX record tells other mail servers where to deliver email addressed to your domain.
Google Workspace: one MX record with priority 1 and the value smtp.google.com. Google has used this single record for new setups since April 2023. Older setups with five aspmx records still work.
Microsoft 365: copy the MX value from the Microsoft 365 admin center. It ends in mail.protection.outlook.com, or mx.microsoft on some newer domains.
MX matters for cold email more than people think. Without it, prospects' replies bounce, and a domain that sends mail but can't receive any looks suspicious.
SPF: who may send for your domain
SPF is a TXT record listing the servers allowed to send email from your domain.
For Google Workspace:
v=spf1 include:_spf.google.com ~allFor Microsoft 365:
v=spf1 include:spf.protection.outlook.com -allThree rules to remember:
- One SPF record per domain. Two separate SPF records make SPF fail. If you need more than one service, merge them into a single record.
- No more than 10 DNS lookups. Each include costs at least one. Go over and SPF fails with a permanent error.
- Your cold email tool usually doesn't need an include. Instantly, Smartlead, PlusVibe and similar tools send through your Google or Microsoft account, so Google's or Microsoft's include already covers them. Only add includes for services that send from their own servers.
The ending ~all means "soft fail anything else" and -all means "fail anything else". With DMARC in place, either works. The values above match each platform's own instructions.
DKIM: a signature on every email
DKIM adds a cryptographic signature to every email you send. The receiving server looks up your public key in DNS and checks the signature.
Google Workspace: in the Google Admin console, go to Apps, then Google Workspace, then Gmail, then Authenticate email. Generate a 2048-bit key and publish it as a TXT record. The host is google._domainkey unless you chose another prefix. Wait for DNS to update, then click Start authentication. Publishing the key alone does nothing. Signing only starts after that click.
Microsoft 365: in the Microsoft Defender portal, open the DKIM settings for your domain. Publish the two CNAME records it shows, one for selector1 and one for selector2, then turn on signing. Until you do, Microsoft 365 signs your mail with your onmicrosoft.com domain, which doesn't match the domain in your From address.
DMARC: tying it all together
DMARC checks that the domain in your From address matches a domain that passed SPF or DKIM. That match is called alignment. DMARC also tells receivers what to do with mail that fails.
Add a TXT record at _dmarc:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.comp=nonemonitors without blocking anything. It's the minimum that Gmail, Yahoo and Microsoft accept for bulk senders.ruais optional. It's where daily aggregate reports go. Use a mailbox you actually check, or a DMARC reporting service.- Alignment comes free when you send from your Google Workspace or Microsoft 365 inbox with DKIM switched on for your own domain.
Once reports show all your legitimate mail passing, you can move to p=quarantine.
Two optional extras
- A domain redirect. Point each cold email domain's website to your main site, so prospects who check the domain land somewhere real.
- A custom tracking domain. If your sending tool tracks clicks, give it your own tracking subdomain with a CNAME record instead of the tool's shared domain, so your links carry your reputation and not someone else's.
How to check your setup
- Read the headers. Send an email to a personal Gmail address, open it, choose "Show original" from the three-dot menu, and look for SPF: PASS, DKIM: PASS and DMARC: PASS.
- Run a DNS check. Any DNS checker shows the MX, SPF, DKIM and DMARC records on a domain. The Email Astra dashboard includes a free one.
- Run an inbox placement test to see where your emails actually land at Google and Microsoft.
The mistakes we see most
- Two SPF records on the same domain.
- A DKIM key published but never switched on.
- No DMARC record at all.
- Old MX records left next to the new one.
- Typos: a missing
v=spf1, stray quotation marks or the wrong DKIM selector. - Sending from the default
onmicrosoft.comaddress, which Microsoft limits to 100 external recipients a day per organization. - An SPF record with so many includes that it goes over 10 lookups.
Any one of these can quietly send your mail to spam while every dashboard looks fine. For the rules these records help you meet, see our guide to Gmail, Yahoo and Outlook sender rules in 2026.
Or skip the DNS work entirely
Every Email Astra inbox comes with MX, SPF, DKIM and DMARC already set up and checked before it goes on sale, and the dashboard re-checks DNS and blacklists every day. You choose Google Workspace or Microsoft 365, and we add the inboxes to your sending tool. Our launch plan shows what to do next. Pick your inboxes at app.emailastra.com.



