ReplyDak

How to add SPF, DKIM and DMARC records in Hostinger hPanel

Updated 10 November 2026 · 5 min read

Short answer

In Hostinger hPanel open Domains, choose the domain and go to DNS / Nameservers (DNS records tab), pick the record type, fill Name, Value and TTL (default 14400 seconds), and click Add Record. Use @ for SPF, _dmarc for DMARC and selector._domainkey for DKIM. If the domain used Hostinger Email before, it already has Hostinger SPF and DKIM records: edit the SPF record instead of adding a second one, and remove the old MX if you moved mail.

Where things are in hPanel

TaskWhere
Add or edit a recordDomains → (domain) → DNS / Nameservers → DNS records
One-click Google Workspace recordsQuick setup, on the same page
Import a zone fileImport, choose Append (Replace deletes everything)
Check nameserversSame page, Nameservers tab

Records left over from Hostinger Email

Domains that used Hostinger's own mailboxes carry Hostinger's MX records, an SPF record including Hostinger's mail servers, and DKIM keys at selectors named like hostingermail-a._domainkey and hostingermail-b._domainkey. When you switch to Google Workspace: delete Hostinger's MX, change the SPF record to Google's include (or keep both includes if Hostinger still sends web-form mail), and leave the old DKIM records alone or delete them; unused DKIM keys do no harm.

Step by step

  1. 1

    Open DNS records

    hPanel → Domains → select domain → DNS / Nameservers.

  2. 2

    Fix MX

    Delete MX records for the old provider, then add your new provider's MX with Name @.

  3. 3

    Edit SPF

    Find the TXT record starting v=spf1 and edit it; do not add a second SPF record.

  4. 4

    Add DKIM

    Type TXT, Name google._domainkey (or your provider's selector), paste the key, Add Record.

  5. 5

    Add DMARC

    Type TXT, Name _dmarc, Value v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com.

Hostinger's help warns that importing a zone with Replace permanently deletes all current records, including email records. Use Append unless you mean to rebuild the whole zone.

Timing

Hostinger says changes can take up to 24 hours to propagate. The default TTL of 14400 seconds (4 hours) means an edited record can stay cached that long at some resolvers. Lowering TTL a day before a planned switch makes the change visible faster.

Check the result

Check for leftover Hostinger MX or a second SPF record after the switch. Run the domain through the free ReplyDak deliverability check: it reads MX, SPF, DKIM and DMARC live from public DNS, counts SPF lookups and checks the main blocklists, with no sign-up. If your DKIM selector is not a common one, type it into the optional selector box.

More setups and errors: SPF, DKIM and DMARC by provider, DNS host and error.

FAQ

Where is the DNS zone editor in Hostinger?

hPanel → Domains → your domain → DNS / Nameservers. The DNS records tab is the zone editor.

Can Hostinger add Google Workspace records automatically?

Yes, hPanel's Quick setup can add the Google Workspace records. Check afterwards that only one SPF record exists.

What TTL does Hostinger use?

14400 seconds (4 hours) by default.

Sources

Related

Microsoft 365 mailboxes are coming soon. Until then, new orders use Google Workspace mailboxes.