I've got a domain setup with Google Domains. I'm using CloudFlare for the name servers and I have the correct MX records setup (https://support.google.com/domains/answer/9428703) to point back to Google Domains so that I can use their email forwarding feature (all email from the various addresses gets forwarded to various Gmail accounts). I'm now trying to figure out what SPF record I should create to prevent email spoofing. So far I haven't been able to find any concrete details on this. I also wouldn't mind figuring out if it's possible to create records related to DKIM and DMARC.

  • Your email provider should tell you what to put as SPF/DKIM/DMARC since what you put there is hugely dependent on its own configuration. Other than that they are all handled through DNS TXT records, so if your DNS provider allows TXT records, you can technically enter any SPF/DKIM/DMARC information you need. Mar 12 '20 at 16:56
  • My email provider would be Gmail but I use Google Domains to forward emails addressed to my domain to Gmail addresses. Gmail has it's own SPF/DKIM/DMARC configuration but that's obviously for @gmail.com accounts. What I'm trying to figure out is what I need to enter for the various records since I'm using Gmail but my own domain via forwarders. Mar 12 '20 at 17:11
  • Did you ever find a solution for this?
    – Nemi
    Nov 16 '20 at 18:47
  • The SPF answer below works great, but I'm also still looking for working DKIM and DMARC configuration for Google Domains Email Forwarding.
    – sj26
    Aug 25 at 0:54

If you are using gsuite, your SPF record should be v=spf1 include:_spf.google.com ~all perhaps that will work since it is google generic SPF by the look of it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.