# Ensure an SPF record is configured

- Source: https://support.icompaas.com/support/solutions/articles/a_1796390899066381-ensure-an-spf-record-is-configured
- 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 every domain managed in Hostinger DNS has a Sender Policy Framework (SPF) record: a TXT record at the root of the domain (@) that starts with v=spf1 and lists the servers allowed to send email for the domain. Each domain is evaluated separately.

**Rationale**

Without SPF, receiving mail servers cannot tell which servers are allowed to send email as the domain, which makes it easy for attackers to spoof it in phishing emails. SPF also improves delivery of legitimate email and is required for DMARC to work well.

**Impact**

-   Every service that sends email as the domain (mailbox provider, website contact forms, newsletter and ticketing tools) must be included, or its email may be rejected or marked as spam
    
-   A domain must have only one SPF record; two SPF records cause an SPF error
    
-   DNS changes can take up to 24 hours to propagate
    

**Default Value**

A domain has no SPF record unless one was added, either manually or during Hostinger Email setup. The Hostinger Email record is v=spf1 include:\_spf.mail.hostinger.com ~all.

**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.  Look for a TXT record with the name @ whose value starts with v=spf1. If there is none, 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.  Add a record with Type TXT, Name @, and a TXT value listing the allowed senders, for example v=spf1 include:\_spf.mail.hostinger.com ~all for Hostinger Email. Add an include: or ip4: entry for every other sending service. For a domain that never sends email, use v=spf1 -all.
    
4.  Leave TTL at the default and click Add record.
    
5.  After propagation, send a test email and check that SPF passes in the message headers.
    

**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.  Find the SPF TXT record and click Delete.
    

**Note:** Removing the SPF record makes the domain easier to spoof and can hurt email delivery; do this only if strictly needed.

**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/1583664-how-to-manage-txt-records-at-hostinger/](https://www.hostinger.com/support/1583664-how-to-manage-txt-records-at-hostinger/)
