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 record issue

Discussion in 'General Discussion' started by bowbeforeroot, Jun 3, 2012.

  1. bowbeforeroot

    bowbeforeroot Registered

    Joined:
    Jun 3, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Guys,

    I am trying to create a TXT record in the format of "v=spf1 include:xxxxxx.com ~all", however it wasn't working. When I did a TXT lookup, I found that the value was "v=spf1include:xxxxxx.com~all" (i.e. spaces removed).

    The application won't work without the proper SPF record, so could anyone tell me how to do this properly?

    I have full root access if anything needs to be changed :)

    Thanks in advance,
    Matt
     
  2. 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
    "Edit a DNS Zone" from WHM, or DNS Editor / Advanced DNS Editor from a user account should work just fine. If you're using one of those methods but your SPF records are being added without spaces, then it's a bug for which you should probably open up a ticket with cpanel.

    You could attempt to edit the DNS zone in /var/named/somedomain.com manually, making sure there is at least a single space between the crucial elements, incrementing the serial #, saving it, and then doing an 'rndc reconfig'.

    M
     
  3. casey211

    casey211 Registered

    Joined:
    Feb 15, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Having the same issue...

    WHM 11.32.3 (build 23)
    CENTOS 5.8 i686

    All is correct syntax in dns zone and shows with the spaces...

    However if I test the SPF record via online tools, like "kitterman" the record has the spaces removed.
    I can successfully create SPF records that work on other platforms, so yes I know what I am doing.

    Help appreciated, as manually editing named config files manually would be tedious with the amount of domains I need to administer.


    //Have done a search around here and no joy...
     
  4. casey211

    casey211 Registered

    Joined:
    Feb 15, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    solved....

    encapsulate the field in "" this will stop it removing the spaces. derrr
    :D
     
Loading...

Share This Page