Hostinger Email SPF Record: How to Set It Up and Protect Your Domain (2026)

Hostinger Email SPF Record: How to Set It Up and Protect Your Domain

Hostinger Email SPF Record: How to Set It Up and Protect Your Domain

If you’ve ever wondered why some emails claiming to be from a company land safely in an inbox while others get flagged as suspicious, SPF is a big part of that answer.

It’s one of the quieter pieces of email setup, invisible when it works, and a real problem when it’s missing or broken.

Below, I’ll explain what SPF actually does, how to find and verify Hostinger’s record, and how to expand it safely without breaking anything.

Email Hosting Plans with Hostinger
The simplest and cheapest email hosting solution. period.
Visit Hostinger

What Is an SPF Record?

SPF, short for Sender Policy Framework, is a DNS record that lists exactly which mail servers are allowed to send email claiming to come from your domain.

When another mail server receives a message from “you,” it checks your domain’s SPF record to confirm the message actually came from an authorized source. Without one, there’s nothing stopping someone else from sending mail that appears to be from your address, since receiving servers have no reference to check it against.

Hostinger’s SPF record looks like this:

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

Each piece does something specific.

v=spf1 marks it as an SPF record.

include:_spf.mail.hostinger.com tells receiving servers to also check Hostinger’s own list of authorized senders.

The ~all at the end is a soft fail, meaning mail from an unauthorized source gets flagged as suspicious but not automatically rejected outright. That’s a deliberate, more forgiving default compared to -all, a hard fail that instructs receiving servers to reject unauthorized mail outright.

Hostinger’s softer default reduces the risk of legitimate mail getting blocked during setup or migration, at the cost of being slightly less strict against spoofing.

With the concept clear, here’s where to actually find this record and how to confirm it’s working correctly.

Step 1: Find or Add Hostinger’s SPF Record

If your domain uses Hostinger’s nameservers, this record already exists. Check under Emails > Domain settings in hPanel, where it appears alongside your MX, DKIM, and DMARC records.

Hostinger hPanel email domain settings showing the SPF record

If your domain’s DNS is managed elsewhere, you’ll need to add this as a TXT record manually. Our Hostinger MX records guide covers the registrar-specific steps for adding DNS records if your domain isn’t on Hostinger’s nameservers.

Seeing the record in hPanel confirms it exists, but not whether it’s actually valid. That’s worth checking properly rather than assuming.

Step 2: Verify the Record With a Real Syntax Check

Confirming an SPF record exists isn’t the same as confirming it’s actually valid. I ran a dedicated SPF check, not a general MX lookup, using MXToolbox’s SPF Record Lookup tool, a separate tool from the basic MX lookup, built to validate SPF syntax and structure directly.

  • Go to mxtoolbox.com
  • Select the SPF Record Lookup tool, not MX Lookup
  • Enter your domain and run the check

MXToolbox SPF Record Lookup validation test for a Hostinger SPF record

The tool ran twelve separate tests against webhostpro.io’s SPF record, and every one passed:

TestResultWhat It’s Actually Checking
SPF Record PublishedSPF Record foundConfirms the record exists at all
SPF Record DeprecatedNo deprecated records foundChecks for an old SPF record type (a DNS “SPF” record type) phased out years ago in favor of TXT records
SPF Multiple RecordsLess than two records foundConfirms only one SPF record exists, since a domain with two active SPF records causes validation failures rather than combining permissions
SPF Contains characters after ALLNo items after ‘ALL’Confirms nothing was mistakenly added after the closing ~all or -all, which invalidates everything following it
SPF Syntax CheckThe record is validGeneral syntax validation
SPF Included LookupsNumber of included lookups is OKTracks how many DNS lookups the record triggers, tied to the 10-lookup limit covered in Step 3
SPF Recursive LoopNo recursive loops on includesConfirms an included domain doesn’t loop back and reference itself
SPF Duplicate IncludeNo duplicate includes foundChecks for the same service accidentally included twice
SPF Type PTR CheckNo type PTR foundFlags use of the PTR mechanism, a legacy method most SPF guidance discourages today
SPF Void LookupsNumber of void lookups is OKChecks for lookups that return no result, which still count against the 10-lookup limit even though they find nothing
SPF MX Resource RecordsNumber of MX Resource Records is OKConfirms MX-based lookups within the record stay within reasonable limits
SPF Record Null ValueNo Null DNS Lookups foundConfirms no lookup in the chain resolves to an empty value
Warning
One related result worth flagging even though it’s not strictly an SPF issue: the same check flagged DMARC Policy Not Enabled as a related warning, since Hostinger’s default DMARC policy is p=none, a monitoring-only setting rather than active enforcement.

MXToolbox warning showing that the DMARC policy is not enabled

That’s covered in more depth in our Hostinger email setup guide, but it’s worth knowing this SPF-specific tool surfaces DMARC status alongside SPF results, since the two are closely related in how receiving servers evaluate trust.

Important
What to actually do here: Run this same check against your own domain rather than assuming a passing MX lookup already confirmed SPF is fine. A general MX lookup doesn’t run this level of SPF-specific validation.

Set SPF and Protect Your Domain

An SPF record helps verify which mail servers are authorised to send emails on behalf of your domain.
Visit Site Coupons6

Step 3: Understand the 10-Lookup Limit Before You Add Anything Else

SPF has a hard technical ceiling: no more than 10 DNS lookups total, counting every include, a, mx, exists mechanism, and any lookups nested inside those.

Go over that limit, and the SPF check doesn’t just ignore the excess; it returns a permanent error, which many receiving mail providers treat as a failed check entirely, even for otherwise legitimate senders included earlier in the record.

This matters the moment you’re using more than just Hostinger to send mail, which is common. A single include:_spf.mail.hostinger.com uses up part of that budget on its own, and every additional service you add, a CRM, a marketing tool, a second mailbox provider, adds more.

Step 4: Combine Multiple Senders Into One Record, Never Two

This is the single most common real-world SPF problem, and it’s worth addressing directly rather than leaving to guesswork: what do you do if you’re sending from Hostinger and something else, say Google Workspace or a marketing platform like Mailchimp?

I asked Hostinger’s Kodee AI assistant this exact question, since it’s the scenario most likely to trip someone up. The answer is unambiguous: use one SPF record only, and list every sending service inside it using multiple include mechanisms. For Hostinger alongside Google Workspace and Mailchimp, that looks like this:

v=spf1 include:_spf.mail.hostinger.com include:_spf.google.com include:servers.mcsv.net ~all

Warning
Do not create a second SPF TXT record to add another service. This isn’t just Kodee’s recommendation, but it’s confirmed by the SPF Multiple Records test in Step 2 above, which exists precisely because two active SPF records on the same domain cause validation to fail rather than combining both sets of permissions. One record, multiple includes, is the only correct structure.

Hostinger Kodee AI guidance for combining multiple email senders into one SPF record

To stay under the 10-lookup limit while combining services, Kodee recommended:

  • Remove any service from the record that you’re no longer actually sending from
  • Avoid including the same provider more than once, even indirectly through a different subdomain reference
  • Consider using a separate subdomain just for marketing email, which can carry its own SPF record independent of your main domain’s lookup budget
  • Use an SPF flattening tool if your DNS provider supports it, which resolves nested includes down into direct IP addresses to reduce the lookup count

Hostinger’s own SPF record is simple and passes every validation check MXToolbox runs against it.

The real complexity shows up the moment you add a second sending service, and the fix is always one combined record with multiple includes, never two separate records, while keeping an eye on the 10-lookup ceiling as you add each one.

Troubleshooting Common SPF Issues

  • SPF check shows multiple records found. Merge every service into a single TXT record using multiple include mechanisms rather than maintaining two separate SPF records, which will cause validation failures.
  • Exceeded the 10-lookup limit. Remove unused service includes first, then consider SPF flattening or a separate subdomain for high-lookup services like marketing platforms.
  • Mail from a legitimate third-party service is failing SPF. Confirm that service’s specific include value is actually present in your SPF record, and that it’s the correct value for that provider rather than a similar-looking one.
  • Unsure whether to use ~all or -all. Hostinger defaults to ~all (soft fail), which flags unauthorized mail without outright rejecting it. Only move to -all (hard fail) once you’re fully confident every legitimate sending source is already included, since a hard fail will block mail from anything missed.
  • DMARC flagged as not enabled during an SPF check. This is a separate but related setting. Our Hostinger email setup guide covers DMARC configuration directly.
Email Hosting Plans with Hostinger
The simplest and cheapest email hosting solution. period.
Visit Hostinger
Hostinger
A$2.26 /mo
Starting price
Visit Hostinger
Rating based on expert review
  • User Friendly
    4.9
  • Support
    4.9
  • Features
    4.8
  • Reliability
    4.7
  • Pricing
    4.5

Frequently Asked Questions

What is Hostinger's SPF record?

v=spf1 include:_spf.mail.hostinger.com ~all. This authorizes Hostinger’s mail servers to send on your domain’s behalf, with unauthorized senders flagged rather than outright rejected.

How do I check if my SPF record is set up correctly?

Use a dedicated tool like MXToolbox’s SPF Record Lookup, distinct from a general MX lookup. It validates syntax, checks for duplicate or multiple records, and confirms your DNS lookup count stays within the required limit.

Can a domain have two SPF records?

No. A domain can only have one valid SPF record. Two separate SPF TXT records cause validation to fail rather than combining the permissions from both, so every sending service needs to be included within a single record.

What happens if my SPF record exceeds the 10 DNS lookup limit?

The SPF check returns a permanent error, which many receiving mail providers treat as a failed check entirely, potentially affecting legitimate senders that were correctly included earlier in the record. Removing unused includes or flattening the record resolves this.

How do I add Google Workspace or Mailchimp to my Hostinger SPF record?

Add their SPF include value alongside Hostinger’s within the same record, for example combining include:_spf.mail.hostinger.com with include:_spf.google.com and include:servers.mcsv.net in one line, rather than creating separate records for each service. If you’re managing multiple sending tools alongside Hostinger email hosting, it’s worth checking current Hostinger email deals to confirm your plan supports everything you’re combining.

Hostinger Email MX Records: How to Set Up Domain Email

MX records are the reason "[yourname@yourdomain.com](mailto:yourname@yourdomain.com)" actually reaches an inbox instead of disappearing into n...
5 min read
Walter Akolo
Walter Akolo
Hosting Expert

Hostinger Email Forwarding and Aliases: How They Work

Forwarding and aliases both let you use more than one email address with Hostinger, and that similarity is exactly why people mix them up. ...
4 min read
Walter Akolo
Walter Akolo
Hosting Expert

Hostinger Email Migration: How to Move Your Inbox to Hostinger

I've seen migrations go wrong in a specific, avoidable way. Someone imports their messages first, then updates DNS afterward, and ends up with...
7 min read
Walter Akolo
Walter Akolo
Hosting Expert

Hostinger Email Deliverability: How to Improve Inbox Placement and Avoid Spam

Email deliverability is whether a message you send actually reaches someone's inbox, versus landing in spam or getting silently filtered befor...
10 min read
Walter Akolo
Walter Akolo
Hosting Expert
Click to go to the top of the page
Go To Top
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.