SPF, DKIM and DMARC, explained simply

If your emails keep landing in spam, three DNS records are usually the reason. Here's what each one does, in plain English.

Gmail, Outlook and other providers check every email against your domain's DNS before deciding whether to trust it. Since 2024, Google and Yahoo have required all three records from anyone sending in bulk, and mail without them is far more likely to end up in junk.

SPF: who's allowed to send

A TXT record listing the servers allowed to send email for your domain. For example:

v=spf1 mx include:_spf.example.net ~all

You can only have one SPF record. If you send from several services, such as your mailbox provider and a newsletter tool, combine them into one record.

DKIM: a signature on every message

Your mail server signs each email with a private key, and publishes the matching public key in DNS. The receiving server checks the signature, which proves the message really came from you and wasn't altered on the way.

DMARC: what to do when checks fail

A TXT record at _dmarc.yourdomain telling receivers what to do with mail that fails SPF and DKIM, and where to send reports. A safe place to start:

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.co.uk

Once the reports show your real mail passing, tighten p=none to quarantine and then reject, which stops others sending email that pretends to be you.

How to check yours

Send an email to a Gmail address, open it, and choose "Show original". You'll see a pass or fail next to SPF, DKIM and DMARC.

With Ratlan Business Email (£0.99 a month for 5 mailboxes), SPF, DKIM and DMARC are set up for you, so your mail is trusted from day one.

Get your site online today

Pick a plan, pay by card and your hosting is ready straight away. If you're moving from another host, we'll bring your site over for free.