Email DNS Check

Set up Google Workspace SPF

Add Google’s sending infrastructure to the envelope domain’s SPF policy.

Reviewed by Mira John Updated

  1. Identify the active senders

    Check which services use this envelope domain, including Gmail and any applications. Google Workspace uses include:_spf.google.com.

  2. Merge the Google include

    In the DNS host’s TXT editor, add that include before the policy’s final all mechanism. Keep other authorised services in the same SPF record.

  3. Verify Gmail sending

    Recheck SPF, send a fresh Gmail message and inspect the recipient’s Authentication-Results for spf=pass.

Check the published record

Replace example.com with your domain.

nslookup -type=TXT example.com

Google SPF is present, but the message fails SPF

Two SPF records were added

Combine the Google include and other authorised senders into one v=spf1 policy at the sending domain.

A website or CRM message fails

Read smtp.mailfrom and the sending IP in the receiver’s results. Authorise that sending service at its envelope domain.

SPF passes, DMARC does not

Check alignment with the visible From domain. Enable aligned DKIM for services that use a different envelope domain.

Confirm: One SPF policy authorises the actual sending services, and fresh messages report spf=pass for the expected smtp.mailfrom identity.

Recheck DNS →

Full documentation

More Google Workspace settings