SPF Enabled, but giving errors

tacotime

Registered
PartnerNOC
Feb 12, 2007
4
0
151
We have 3 cpanel nameservers, the server hosting the domains is not running nameserver. So we have ns1-ns3 all running cpanel dns server. I enabled spf in the whm for a domain and it gave the following errors

Status: Enabled, WARNING: SPF cannot be used because this server is not a DNS server for domain.com.


Now on a server running a nameserver and hosting on it it seems the spf is working fine, but on a different setup not running the dns server it seems to give that error. Is just the way spf functions, or is there some way of letting SPF know that I am running the nameserver on 3 different external cpanel dns servers?
 

mtindor

Well-Known Member
Sep 14, 2004
1,416
80
178
inside a catfish
cPanel Access Level
Root Administrator
Now on a server running a nameserver and hosting on it it seems the spf is working fine, but on a different setup not running the dns server it seems to give that error. Is just the way spf functions, or is there some way of letting SPF know that I am running the nameserver on 3 different external cpanel dns servers?
This likely has to do with the fact that when you enable SPF from within Cpanel for a domain, Cpanel then needs to edit the DNS zone file for that domain to add/modify the TXT record that specifies the SPF information. If the server does not have direct access, it cannot do that.

You can go onto the other servers (that perform DNS) and add the appropriate TXT entry to the domain you are eunabling SPF for.

To my knowledge, there is nothing in any cpanel config that is inherently 'SPF aware' other than the DNS zone - meaning that if you enable SPF for the domain in Cpanel, even though it may not work because the actual DNS zone wasn't edited, there is no more configuration to make in Cpanel on the hosting machine itself - it's ready to go. You just need to add the SPF records manually to the DNS zones on the nameservers for which you want SPF to work.

Mike