Domains & DNS
DNS Record Management (SPF, DKIM, DMARC)
Updated Mar 28, 2026
Microsoft 365 (Outlook) DNS Configuration
SPF Record
Host: @
Type: TXT
Value: v=spf1 include:spf.protection.outlook.com ~all
Purpose: Authorizes Microsoft 365 servers to send emails for the domain.DKIM Records
Host: selector1._domainkey
Type: CNAME
Value: selector1-yourdomain-com._domainkey.yourtenant.n-v1.dkim.mail.microsoft.
Host: selector2._domainkey
Type: CNAME
Value: selector2-yourdomain-com._domainkey.yourtenant.n-v1.dkim.mail.microsoft.
Purpose: Enables DKIM signing for Microsoft 365 emails.DMARC Record
Host: _dmarc
Type: TXT
Value: v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@yourdomain.com; ruf=mailto:dmarc@yourdomain.com; adkim=r; aspf=r; fo=1:d:s; pct=100;
Purpose: Defines email authentication policy and reporting settings.Google Workspace DNS Configuration
SPF Record
Host: @
Type: TXT
Value: v=spf1 include:_spf.google.com ~all
Purpose: Authorizes Google mail servers to send emails.DKIM Record
Host: google._domainkey
Type: TXT
Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQE...
Purpose: Enables DKIM email signing for Google Workspace.DMARC Record
Host: _dmarc
Type: TXT
Value: v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@yourdomain.com; ruf=mailto:dmarc@yourdomain.com; adkim=r; aspf=r; fo=1:d:s; pct=100;
Purpose: Controls how failed authentication emails are handled and sends reports.Quick Technical Difference
| Type | Microsoft 365 | Google Workspace |
|---|---|---|
| SPF | include:spf.protection.outlook.com | include:_spf.google.com |
| DKIM | Uses CNAME selectors | Uses TXT DKIM key |
| DMARC | Same format | Same format |
Still have questions? Chat with us
