Email

Set up SPF, DKIM and DMARC at Hostinger

In short. At Hostinger, the email domain settings in hPanel show whether SPF, DKIM, DMARC and MX are connected. If something is missing, add the records in hPanel's DNS section, SPF and DKIM first, then DMARC. Tighten the DMARC policy only after reading the reports.

SPF lists the servers allowed to send for your domain, DKIM signs each message, and DMARC tells receivers what to do with mail that fails both. Hostinger documents values for its own email service; if your mailboxes are elsewhere, use that provider's values instead.

Last verified: November 26, 2026, against Hostinger's official help (checked November 12, 2026).

Before you start

In hPanel, open Emails, then Manage next to the domain. Hostinger's email domain settings page checks four records (MX, SPF, DKIM and DMARC) and shows a connected, missing or incorrect status for each. If you send with Google Workspace or Microsoft 365, use that provider's SPF and DKIM values. One SPF record must cover every service that sends with your domain.

1. SPF

Hostinger's manual setup uses a TXT record on @:

v=spf1 include:_spf.mail.hostinger.com ~all

If other services send as you, add their include: to this same record.

2. DKIM

Hostinger's manual setup uses three CNAME records: hostingermail-a._domainkey, hostingermail-b._domainkey and hostingermail-c._domainkey, pointing to the matching names under dkim.mail.hostinger.com. Take the exact targets from Hostinger's help or from the email domain settings page.

3. DMARC

In hPanel, open Domains, your domain, then DNS / Nameservers and the DNS records section. Add a record of type TXT, name _dmarc, with:

v=DMARC1; p=none; rua=mailto:[email protected]

If a _dmarc TXT record already exists, edit it with Edit instead of adding another.

Then tighten DMARC step by step

Start with p=none and read the reports for one to two weeks. Once every legitimate sender passes, move to p=quarantine, then to p=reject after several clean weeks. Never publish quarantine or reject straight away: one forgotten sender, such as an invoicing tool, would have its mail sent to spam or refused. Google recommends the same staged rollout.

Common mistakes

  • Two SPF records on the same domain: SPF fails with an error. Merge them into one.
  • Two DMARC records on _dmarc: receivers ignore both.
  • More than 10 DNS lookups in SPF (each include: costs at least one; RFC 7208): SPF fails.
  • Typing the full name in the host field: _dmarc.yourdomain.com can become _dmarc.yourdomain.com.yourdomain.com. Enter only _dmarc, and check the result in the list.
  • Forgetting mailto: in the rua address.
  • Forgetting other senders (newsletter, invoicing, online shop): each must pass SPF or sign with DKIM for your domain.

Check that it works

Wait for the change to be visible (minutes to hours, sometimes up to 48 hours), then:

nslookup -type=TXT yourdomain.com
nslookup -type=TXT _dmarc.yourdomain.com

You should see one line starting with v=spf1 and one line starting with v=DMARC1. Our free tools read both and the DKIM key: use the SPF, DKIM and DMARC checkers linked above. For a full test, send an email to a Gmail address, open it, choose Show original: SPF, DKIM and DMARC should read PASS.

Free tool. SPF checker · DKIM checker · DMARC checker

Check your domain for free. AttackScout reads your public SPF, DKIM and DMARC records and tells you what to change. Run the free check

Frequently asked questions

Do I need all three at Hostinger?

Gmail and Microsoft require SPF, DKIM and DMARC from senders of more than 5,000 messages a day, and a complete setup helps at every volume. DMARC only passes when SPF or DKIM passes with your own domain, so set SPF and DKIM first.

How long before it works?

Providers announce from a few minutes to 48 hours for DNS changes to be visible everywhere. Test after a short wait.

Should I start with p=reject?

No. Start with p=none, read the reports, then tighten.

Sources

Accessed on 11/26/2026.