Email DNS Check

Set up SPF for Microsoft 365

Authorise Exchange Online in the sending domain’s SPF policy.

Reviewed by Mira John Updated

  1. Get the Microsoft value

    Open Microsoft 365 Domains, select the domain and view its DNS records. Copy the SPF include for your Microsoft cloud.

  2. Update the existing TXT policy

    At the envelope domain’s DNS host, merge include:spf.protection.outlook.com for the worldwide service with the other active senders. Publish one v=spf1 record.

  3. Verify an outbound message

    Recheck SPF and send through Exchange Online to an independent mailbox. Confirm spf=pass for the expected smtp.mailfrom domain.

Check the published record

Replace example.com with your domain.

nslookup -type=TXT example.com

Recheck DNS →

Full documentation

More Microsoft 365 settings