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.

Missing include from spf record in dns zone template

Discussion in 'Bind / DNS / Nameserver Issues' started by Mark Cox, Aug 15, 2015.

  1. mcpacific

    mcpacific Member

    Joined:
    May 3, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles, CA
    cPanel Access Level:
    Root Administrator
    My DNS zone template includes the following to automatically insert a SPF record when a new zone is created:

    %domain%. IN TXT "v=spf1 a mx ip4:%ip% include:server_name.com ~all"

    However, the "include:server_name.com" doesn't get written (everything else appears correctly). Is there a way to make this work?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Custom SPF record templates are not supported at this time, but feel free to vote for the existing feature request at:

    https://features.cpanel.net/topic/c...de-assigned-ip-to-spf-not-just-main-shared-ip

    However, you can ensure SPF records are automatically created during account creation by enabling the following option under the "Domains" tab in "WHM >> Tweak Settings":

    "Enable SPF on domains for newly created accounts"

    Thank you.
     
Loading...

Share This Page