How to Set up SPF and DKIM for Email Authentication

Your emails are authenticated by default with the digital signatures of SendPulse. This helps to ensure high delivery rates. In this step by step guide, we'll show you how to set up your domain's DNS records.

What are DKIM and SPF

DomainKeys Identified Mail (DKIM) is a method for verifying the sender’s domain using an automatically generated digital signature.

Sender Policy Framework (SPF) is a TXT record in the DNS zone of the domain that contains a list of email servers to indicate which hosts are authorized to send emails for a domain.

DKIM and SPF records are configured on the server from which emails are sent to reduce the risk of undermining the domain's reputation and prevent emails from getting into spam.

How to Create DKIM and SPF Records

First of all, generate records in your SendPulse account, and then add them in the control panel of your website.

Settings in the SendPulse service

1. Open the "EMAIL" tab and navigate to "Service settings."

Service settings

2. Open the "Email Authentication" tab.

Email authentication

3. Choose "Domain authentication (SPF and DKIM records)" and click "Activate."

Domain authentication

Add your domain (for example, and click the button "Generate SPF/DKIM records."

Generating SPF and DKIM records

The service will generate SPF and DKIM records that you should specify in your domain account.

Settings in a Website Control Panel

1. Find DNS Zone Editor

Go to the control panel of your website and find a page for updating the domain's DNS records. It also can be called DNS Management, Record Server Management or Advanced Settings, etc.

You will see a similar form with empty fields:

Form for adding DNS records

Note that your control panel interface may vary. If you do not find the required form, review the documentation of your hosting provider, or contact their support team.

2. Fill in all the fields.

How to fill in the fields for the DKIM record

Enter sign._domainkey into the "Name" field. In some DNS control panels, you must also specify a domain for the DKIM public key, for example,

Set "Type" to "TXT."

Paste the value that you generated in the SendPulse account, for example, v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQ..., into the "Data" field.

Adding DKIM record

Click "Add new" to save the changes and wait until they come into effect. This process can take up to 72 hours.

How to fill in the fields for the SPF record

Enter your domain name into the "Name" field.

Set "Type" to "TXT."

Paste the value that you generated in the SendPulse account, for example, v=spf1 +a +mx ~all, into the "Data" field.

Adding SPF record

If there is an SPF record already added for your domain, do not create a new one, edit the existing record.

Click "Add new" to save the changes and wait until they come into effect. This process can take up to 72 hours.

Emails with confirmation of subscription forms and test emails sent via the "Send test email" option will include default SendPulse SPF/DKIM records.

DNS Settings in Common Hosting Providers

Below are links to instructions for editing DNS records on the platforms of different hosting providers. If you use another hosting provider, find your provider's documentation or contact their support team.

Amazon Web Services



Google Domains






If you are still experiencing difficulties in adding DNS records, write our technical support team.

Set up DNS records now!

Rate this article about "How to Set up SPF and DKIM for Email Authentication"

User Rating: 5 / 5

    Popular in Our Blog

    Try SendPulse today for free