Skip to content

Open today: your account and workspace. Lead search comes next.

DNS for your domain: SPF, DKIM and DMARC

What the three records do, what goes in them, and how to check them.

Updated November 28, 2026

All help articles

When you send from your own domain, three DNS records help mail providers check that an email is really from you: SPF, DKIM and DMARC. Without them, your email is likelier to land in spam.

A free address such as Gmail needs none of this: its provider looks after its DNS.

See what’s missing

In Oplio, open Deliverability, then Domains. Each domain you send from shows what we found. Press How to fix to see the records to add, with a button to copy each value.

Where to add them

Add the records wherever your domain’s name servers are, often where you bought the domain. How to fix reads the name servers and tells you which host that is. These guides cover:

On any other host, open your domain’s DNS records page and add the same records there. In a record’s name, @ means the domain itself. For other records, most hosts want only the part before your domain, such as _dmarc.

SPF

SPF lists the servers that may send your domain’s email. Its name is @, its type is TXT, and its value starts with v=spf1.

A domain can have only one SPF record. If yours has one, edit it. Don’t add a second. If several services send your email, they all go in that one record. Use the value Oplio shows you, or the one from your mail provider.

DKIM

DKIM signs each email with a key. Only your mail provider can make that key: find the DKIM or email authentication settings there, and copy the record it shows. Its name has ._domainkey in it, such as google._domainkey.

If Oplio asks for your DKIM selectors, enter the part of the record’s name before ._domainkey.

DMARC

DMARC tells mail providers what to do with email that fails the checks, and where to send reports. Its name is _dmarc and its type is TXT. To start, use p=none, which blocks no mail. It’s the lowest DMARC policy Gmail, Yahoo and Outlook.com ask of high-volume senders, who also need SPF, DKIM and a From address that matches. A domain has one DMARC record.

MX

MX records say where your domain receives email, so they’re how replies reach you. Your mail provider gives you them. If we say yours are missing or wrong, add the ones it shows.

Check again

DNS changes take from a few minutes to a few hours to show everywhere, and sometimes up to two days. Once you’ve saved them, go back to Domains and press Check again.

If your emails still go to spam

Records are the first thing to fix, but not the only one:

  • Let a new mailbox warm up before you send much from it.
  • Send only to addresses that passed a check, and to businesses your email is relevant to.
  • Keep emails short and plain, with one link at most.
  • Watch your mailbox health scores.

More in Your domain’s DNS

Still stuck?

We answer in Bangla and English.

Ask us (opens your email app)