Adding DMARC, SPF, and DKIM records in Hostinger
Hostinger keeps DNS in its hPanel, and there are two doors into the same editor depending on whether you have a hosting plan or just the domain. Here is each path, the records to add, and the email-provider trap that breaks SPF.
Before you start: confirm Hostinger answers your DNS
Hostinger's default nameservers are ns1.dns-parking.com and ns2.dns-parking.com (a pair, with no ns3 or ns4). Note that they end in dns-parking.com, not hostinger.com, which is a common mismatch. Confirm:
dig +short NS yourdomain.com
If the answers end in dns-parking.com, Hostinger answers your DNS and the hPanel editor is the right place.
Step 1: Open the DNS Zone editor
There are two ways in, depending on your account:
- Domain only: hPanel, then Domains, then Domain portfolio, select the domain, then DNS / Nameservers, then DNS records.
- With a hosting plan: hPanel, then Websites, select the site, then Advanced, then DNS Zone Editor.
Both land on the same add-record form.
Step 2: Add the record
Set Type to TXT, put the host in the Name field (@ for the root, or a prefix), and paste the value into the TXT value field.
DMARC
Type: TXT Name: _dmarc TXT value: v=DMARC1; p=none; rua=mailto:you@yourdomain.com TTL: 14400
Start at p=none, then move past p=none once your reports are clean.
SPF
Type: TXT Name: @ TXT value: v=spf1 include:_spf.yourprovider.com ~all TTL: 14400
Keep a single v=spf1 record. Two of them is a failure that makes every authorized sender look unauthorized, so edit the existing record rather than adding a second.
DKIM
Type: TXT Name: selector._domainkey TXT value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG... (your full public key) TTL: 14400
Paste the whole key as one value. The hPanel editor takes the full key in a single field, so you do not split it or add quotes.
MTA-STS pointer
Type: TXT Name: _mta-sts TXT value: v=STSv1; id=20260623000000 TTL: 14400
Pointer only. The policy file is served over HTTPS at mta-sts.yourdomain.com, which trustyourinbox can host. TLS-RPT (_smtp._tls) is the same shape. Hostinger's default TTL is 14400 seconds (4 hours); lower it to 300 while testing if you want faster propagation.
Hostinger quirks that bite
- One email provider per domain. Hostinger only supports one mail provider at a time. Setting up Hostinger Email, Titan, or Hostinger Reach auto-provisions MX, SPF, and DKIM. If you are switching to a different sender, delete the stale MX records first and merge SPF rather than adding a second one.
- External nameservers. If your domain points its nameservers somewhere other than
dns-parking.com, the hPanel DNS Zone is not authoritative and your edits will not take effect. Edit at the provider your NS records point to. - The full domain in the Name field. Enter
_dmarc, not_dmarc.yourdomain.com. Hostinger appends the domain.
Step 3: Verify it published
dig +short TXT _dmarc.yourdomain.com dig +short TXT yourdomain.com | grep spf1 dig +short TXT selector._domainkey.yourdomain.com
Or paste the hostname into dns.google with type TXT. The record is live the moment the lookup returns it; other resolvers catch up as the old TTL expires.
Tell trustyourinbox to recheck
Each per-domain protocol tab has a Recheck button next to the current record. Click it once the change resolves and we re-run the lookup and refresh the dashboard.
Keep reading
Run a free DMARC audit
Paste your domain and read your published SPF, DKIM, and DMARC back in plain English.
How we change DNS safely
The safety layers behind an automated fix, and why a hand edit deserves the same care.
SPF record builder
Merge your senders into one valid v=spf1 record before you paste it in.
Editing DNS at any provider
Not actually on Hostinger? The universal walkthrough finds your real DNS host.
Last verified 2026-06-23 against the official Hostinger documentation.
Free for one domain. Set up in five minutes. We parse the reports; you read plain-English summaries.