The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SPF Enabled, but giving errors

Discussion in 'General Discussion' started by tacotime, Jun 12, 2008.

  1. tacotime

    tacotime Registered
    PartnerNOC

    Joined:
    Feb 12, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. tacotime

    tacotime Registered
    PartnerNOC

    Joined:
    Feb 12, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    anybody have any ideas?
     
  3. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    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
     
Loading...

Share This Page