Knowledge BaseDomains & DNSSetting up SPF, DKIM, and DMARC for better email deliverability
Domains & DNS

5 min read

Setting up SPF, DKIM, and DMARC for better email deliverability

Configure email authentication records to prevent your emails from landing in spam.

SPF, DKIM, and DMARC

These three DNS records help email providers verify that your emails are legitimate, improving deliverability and protecting your domain from spoofing.

SPF (Sender Policy Framework)

SPF lists the servers authorised to send email from your domain.

In Plesk → DNS Settings, add a TXT record:

  • Host: @
  • Value: v=spf1 include:zebrahosting.cloud ~all

DKIM (DomainKeys Identified Mail)

DKIM adds a cryptographic signature to outgoing emails. Plesk generates DKIM keys automatically.

  1. In Plesk → Mail Settings for your domain
  2. Enable DKIM spam protection
  3. Plesk will automatically add the DKIM TXT record to your DNS

DMARC

DMARC tells receiving servers what to do when SPF or DKIM checks fail.

Add a TXT record:

Test your setup: Use MXToolbox to verify your SPF, DKIM, and DMARC records are correctly configured.