Setting up SendGrid SPF/DKIM DNS records in Cloudflare
SPF/DKIM records are industry-standard security mechanisms that authorize Front to send emails on our customers’ behalf. When you add a SMTP email channel, it’s critical to correctly configure SPF/DKIM records for your email domain because they reduce the risk messages you send from Front will be marked as spam in your recipients’ inbox. Here is how to set up the records if you use Cloudflare as your DNS.
Don’t use Cloudflare? Follow the instructions here instead.
Log in to your Cloudflare account.
From your Home dashboard, click on the domain name you’d like to configure.
Click the DNS button for that domain.
You'll add three records to your DNS configuration: MX, SPF, and DKIM. These records correspond to the values you see in the Deliverability settings panel for your domain.
For the MX record, select MX in the dropdown on the left.
Enter the MX record’s Name value from Front’s deliverability settings into the Name field in the Cloudflare DNS record.
Click in the field that says Click to configure and enter the values for the MX record.
Click the Add button to finish adding the MX record.
For the SPF record, select TXT from the dropdown, enter the Front Name into Cloudflare’s Name field and the Value into the text box when you Click to configure. Press Add when the SPF record is complete.
For the DKIM record, follow the same steps as the SPF record.