To ensure reliable delivery of all emails sent from your website—contact forms, auto-replies, registrations or notifications—you need to publish two DNS records on your domain: SPF and DKIM. These records tell recipients’ mail systems that our servers and any other services you use are authorized to send on your behalf.
1. SPF Record
Purpose
Defines which mail servers may send email using your domain.
When to include
- Always include mailgun.org if you use Mailgun
- Include _spf.google.com only if you send mail through Google Workspace (formerly G Suite)
- Add an include:[MYMAILSERVER] entry for any other third-party mail services you use
Example DNS entry
Type TXT Name yourdomain.com Value v=spf1 include:mailgun.org include:_spf.google.com ~all
Note that the final ~all soft-fails any servers not explicitly listed. For more on SPF setup, see Google’s guide: https://support.google.com/a/answer/33786?hl=en
2. DKIM Record
Purpose
Uses cryptographic signatures to verify that outgoing mail truly originates from you, preventing spoofing and increasing inbox placement.
Is it required?
No, but it is highly recommended.
Setup options
- Self-configure by generating a public/private key pair in your mail service and publishing the public key in DNS
- Have us handle it for a one time $100 setup, or get it included with our $50 per year Premium Domain Management Service
Example DNS entry
Type TXT Name k1._domainkey.yourdomain.com Value k=rsa; p=<YOUR_REAL_PUBLIC_KEY_HERE>
Replace <YOUR_REAL_PUBLIC_KEY_HERE> with the key provided by Google Workspace, Mailgun or another provider. For step-by-step DKIM instructions from Google, see: https://support.google.com/a/answer/174124?hl=en
Once both records are published and propagated, your site’s email will be authenticated, helping ensure your messages land in the inbox rather than the spam folder. If you would like us to provision and configure DKIM for you, just let us know.
Need Help?
Feel free to contact us at support@gutensite.com or support@hellomarket.io.
Comments
0 comments
Article is closed for comments.