# Ensure the SPF record does not allow all senders

- Source: https://support.icompaas.com/support/solutions/articles/a_1796390899575135-ensure-the-spf-record-does-not-allow-all-senders
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [Hostinger](https://support.icompaas.com/support/solutions/c_1796390637084781) › [Hostinger Checks](https://support.icompaas.com/support/solutions/folders/f_1796390648370879)
- Last updated: 2026-12-04
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Description**

This check ensures that the SPF record of every domain does not end in +all. The +all mechanism (or a bare all, which means the same) authorises every server on the internet to send email as the domain. Each domain is evaluated separately.

**Rationale**

An SPF record ending in +all gives no protection: every forged email passes the SPF check, and it can even make spoofed email look more trustworthy. Ending the record in ~all (soft fail) or -all (fail) makes receiving servers treat unlisted senders as suspicious or reject them.

**Impact**

-   Email from senders that are not listed in the record may be marked as spam (~all) or rejected (-all). List every legitimate sender before changing the ending
    
-   DNS changes can take up to 24 hours to propagate
    

**Default Value**

The default Hostinger Email SPF record ends in ~all. A record ends in +all only if it was set that way.

**Pre-Requisites**

-   The domain must use Hostinger nameservers. If DNS is hosted elsewhere (for example Cloudflare), make the change at that DNS provider instead
    
-   A list of every service that sends email for the domain
    

**Remediation**

**Test Plan**

1.  Log in to hPanel at https://hpanel.hostinger.com.
    
2.  Go to Domains, click the domain, and open DNS / Nameservers → DNS records. (The DNS Zone Editor is also in the website dashboard sidebar.)
    
3.  Find the TXT record with the name @ that starts with v=spf1. If it ends in +all (or all with no sign before it), the check fails for this domain.
    
4.  Repeat for each domain.
    

**Implementation Steps**

1.  Log in to hPanel at https://hpanel.hostinger.com.
    
2.  Go to Domains, click the domain, and open DNS / Nameservers → DNS records. (The DNS Zone Editor is also in the website dashboard sidebar.)
    
3.  Find the SPF TXT record (name @, value starting with v=spf1) and click Edit.
    
4.  Make sure every legitimate sender is included, then replace +all at the end with ~all (or -all once you are confident the list is complete). Example: v=spf1 include:\_spf.mail.hostinger.com ~all.
    
5.  Click Update.
    

**Backout Plan**

1.  Log in to hPanel at https://hpanel.hostinger.com.
    
2.  Go to Domains, click the domain, and open DNS / Nameservers → DNS records. (The DNS Zone Editor is also in the website dashboard sidebar.)
    
3.  Edit the SPF TXT record, put back the previous ending, and click Update.
    

**Note:** Do not restore +all; if legitimate email is rejected, add the missing sender to the record instead.

**Reference**

-   [https://www.hostinger.com/support/1583673-how-to-add-and-remove-spf-records-on-hpanel](https://www.hostinger.com/support/1583673-how-to-add-and-remove-spf-records-on-hpanel)
    
-   [https://www.hostinger.com/support/1583249-how-to-manage-dns-records-at-hostinger/](https://www.hostinger.com/support/1583249-how-to-manage-dns-records-at-hostinger/)
