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.
- In Plesk → Mail Settings for your domain
- Enable DKIM spam protection
- 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:
- Host:
_dmarc - Value:
v=DMARC1; p=quarantine; rua=mailto:[email protected]
Test your setup: Use MXToolbox to verify your SPF, DKIM, and DMARC records are correctly configured.