Set up SPF, DKIM and DMARC for Hostinger Email

The three settings that keep Hostinger Email messages out of spam, with Hostinger Email's own values and where to find them. Allow about fifteen minutes.

Before you start

The records below are added where your domain's DNS is managed. That is often the company you bought the domain from, and not always Hostinger Email. If you aren't sure where that is, enter your domain: we name your DNS host and link to its guide.

Step 1. SPF: say who may send for you

Add one TXT record on your domain with the value below. It tells mail services that Hostinger Email is allowed to send your email.

TXT record on your domain
v=spf1 include:_spf.mail.hostinger.com ~all

If your domain already has a record starting v=spf1, don't add a second. Edit the one you have so it includes Hostinger Email. Two SPF records cancel each other out.

Step 2. DKIM: sign your email

  1. Sign in to Hostinger and go to Emails. Click Mailboxes next to your email service, then choose Domain settings.
  2. Find the three DKIM records. They are CNAME records named hostingermail-a._domainkey, hostingermail-b._domainkey and hostingermail-c._domainkey.
  3. Add all three where your domain's DNS is managed, exactly as shown.

Step 3. DMARC: say what happens to fakes

Add a TXT record named _dmarc with the value below. This starts in monitoring mode, which changes nothing about how your email is delivered.

TXT record named _dmarc
v=DMARC1; p=none;

After a few weeks with SPF and DKIM both working, change p=none to p=quarantine. Fake emails then go to spam.

Step 4. Check it worked

Changes can take up to an hour to show. Then run the check here: it reads all three records and tells you if anything is still missing.