Setting up SPF at Hostinger

SPF at Hostinger: step by step to the correct TXT record in the hPanel DNS Zone — including verification.

Last updated: July 2026

In short: The SPF record formally authorizes Hostinger's mail servers to send messages on behalf of your domain. You configure the record directly within the hPanel interface under Domains in the DNS Zone section.

Prerequisites

What is SPF?

SPF (Sender Policy Framework) is a TXT record in your domain's DNS that defines exactly which mail servers are permitted to send email using your domain address. Receiving mail servers (such as Gmail, Outlook, or Yahoo) check this record whenever a message arrives claiming to be from your domain.

As Hostinger's official documentation states: This authorizes Hostinger to send emails from your domain. Without a valid SPF record, external spam filters are likely to treat your outgoing messages with suspicion, route them to the spam folder, or reject them outright.

To achieve complete email security and optimal deliverability, SPF should always be configured alongside DKIM and DMARC.

The starting point at Hostinger

If your domain uses Hostinger's nameservers, you can manage your DNS settings right inside your account dashboard. The support documentation explains the exact path to reach your DNS settings: Go to Domains in hPanel. Select your domain and open DNS Zone.

The authorization policy is published as a TXT record at the root of your domain. For Hostinger Email, the canonical SPF record is:

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

Once you save the changes in hPanel, DNS caching across the internet begins to update. As noted in Hostinger's technical guide: Once you add or update the necessary DNS records, your email service may take up to 24 hours to activate due to DNS propagation

Step-by-step guide

1. Check whether an SPF record already exists

Before making adjustments in hPanel, open your terminal to verify if your domain currently publishes an SPF record:

dig TXT example.com +short

Look through the output for any line starting with v=spf1. If a record is already present, you must edit it rather than creating a second one.

2. Open the DNS Zone in hPanel

Log in to your Hostinger account and navigate to hPanel (Go to Domains in hPanel. Select your domain and open DNS Zone.). Click on your target domain and select the DNS Zone option from the menu.

3. Create or update the TXT record for SPF

Inside your DNS Zone management table:

Save your record (Once you add or update the necessary DNS records, your email service may take up to 24 hours to activate due to DNS propagation).

The components of the SPF policy

Component Meaning
v=spf1 Protocol version identifier indicating the start of the SPF record
include:_spf.mail.hostinger.com Dynamically imports the authorized IP addresses and mail servers used by Hostinger
~all SoftFail mechanism instructing receiving servers to treat unauthorized senders with caution

Verification

Once you have saved the TXT record in your Hostinger hPanel DNS Zone, immediately verify your configuration using the free Kuveris scanner — the tool checks your SPF syntax and confirms you stay safely below the 10 DNS lookup limit.

You can also use your terminal to confirm that nameservers are serving the updated value:

dig TXT example.com +short

The returned output should exactly match "v=spf1 include:_spf.mail.hostinger.com ~all".

Common mistakes

Further reading

Related finding: What does this finding mean?