Results 1 to 9 of 9
  1. #1
    New Spam Forum
    Join Date
    Aug 2009
    Posts
    149
    BG Level
    3
    FFXI Server
    Fenrir

    Need help setting up a spf record

    I need to create a spf record for my office's mail server and I used the Microsoft wizard provided here. I dropped the result into a .txt in the DNS and reloaded and refreshed the mail server's forward lookup zone. However when I went to check if it was working properly with this web tool, it was unable to find my spf record. I read on some sites (yes I've googled my problem multiple times) that it can take up to 48 hours to propagate but the record I made on Tuesday didn't show up either.

    I'm hoping I just missed a step or my spf is wrong. I'll dump my censored spf below.

    v=spf1
    a
    mx
    ip4: (mail server's IP here)
    mx: (mail server's domain here)
    ip4: (business's Static IP here)
    ip4: (list of 31 IPs of outside mail servers)
    include:constantcontact.com
    include:nutshellmail.com
    mx:constantcontact.com
    mx:nutshellmail.com
    +all
    I need to set this up because since around Christmas some ISPs have been blocking us from emailing our clients

  2. #2
    Relic Weapons
    Join Date
    Oct 2006
    Posts
    335
    BG Level
    4

    It's difficult to tell because if there's a syntax error involved, it could be included in the values that you edited out.

    - Is your zone reading the latest version of your zone file? Depending on how you edit zone files in your zone, did you remember to increment the serial number? Try looking up the SOA record for the domain to see if the serial numbers match; if the serial number in the zone file is more recent, there may be an error logged by named indicating why it did not reload the new zone file.
    - There shouldn't be spaces in between the "ip4:" mechanism and the IP address value (e.g., "ip4:10.100.0.0/16" and not "ip4: 10.100.0.0/16")

    And although it's not an error, do you really, really want "+all"? You're basically allowing any machine to send mail on your domain's behalf; you probably want "-all" to limit the list of allowed senders to the ones you have listed in the SPF record.

  3. #3
    New Spam Forum
    Join Date
    Aug 2009
    Posts
    149
    BG Level
    3
    FFXI Server
    Fenrir

    The serial number was incremented yes but which serial numbers are supposed to match? There's one SOA for each of the forward lookup zones but they all have different serial numbers. There's also no errors reported for this year in the DNS. Right now the domain.com's SOA is pointing to domain.local as the primary server, does that need to be changed? All this stuff in the DNS Manager is at defaults from when the tech guy set up our network for us about 1½ years ago.

    Yeah sorry I just added the spaces for the OP so that it wouldn't make the smileys, there's no spacing at all in the .txt. Every IP is on it's own line.

    I took your advice and changed it to -all. Now if I can just get it to work!

    Here's what I'm looking at in the forward lookup zones if it helps any.

    Spoiler: show

  4. #4
    Relic Weapons
    Join Date
    Oct 2006
    Posts
    335
    BG Level
    4

    I'm admittedly less familiar with DNS managed by Windows Server, so the data field looks odd; in the record itself, the entries shouldn't be comma-delimited.

    When I say to compare serial numbers, I mean to look up the SOA record (via dig or some other utility) to see whether the serial number of your zone file matches the copy of the zone file which has propagated out. For example:

    $ dig usc.edu SOA | grep SOA
    ; <<>> DiG 9.7.3-P3 <<>> usc.edu SOA
    ;usc.edu. IN SOA
    usc.edu. 3600 IN SOA kaus.usc.edu. root.usc.edu. 2009113408 3600 1800 360000 3600

    Looking at the record, I can see that the name server has properly loaded the zone file serial number 2009113408, which includes any updates made in that version of the file. A similar look up for your zone should reflect a serial number greater than or equal to the one that contains your new TXT record; if it doesn't, the name server doesn't have the updated value yet and the SPF record wouldn't be available.

    When you used the SPF Record Testing Tool (the webtool you linked to above) and tested your domain, did it find a TXT record at all? This should be reflected in the first few lines of the tool's output.

    Edit: However DNS Manager allows you to enter the value for the TXT record, I would try just putting it on a single line if possible. Also, you can PM me the domain if you want me to check it out from the outside.

  5. #5
    New Spam Forum
    Join Date
    Aug 2009
    Posts
    149
    BG Level
    3
    FFXI Server
    Fenrir

    This is what I get when I use the SPF record tester

    SPF records are published in DNS as TXT records. No TXT records found for your domain.

    SPF records should also be published in DNS as type SPF records.

    No type SPF records found.
    I initially tried putting it on just one line because that's how Microsoft's wizard outputs it by default but because there were so many individual IPs the DNS Manager refused to read it. I tried using the wrap text option and that put each IP onto their own line (the commas only show up in that preview)... but it doesn't work either way and I'm pretty stumped at this point. I've been working on this off and on all week and I'm about ready to give up because this is supposed to be some easy 4 step process and I feel like a retard because I always botch up stuff with the server ugh

  6. #6
    Bagel
    Join Date
    Jan 2009
    Posts
    1,412
    BG Level
    6

    I can't say I've ever worked on SPF entries that included multiple domains, so I don't know how much help I'll be with that. However, one thing that did strike my curiosity - why are you using +all at the end? Wouldn't that default to all pass? Shouldn't it be -all or ~all (depending on what you're trying to accomplish)?

  7. #7
    New Spam Forum
    Join Date
    Aug 2009
    Posts
    149
    BG Level
    3
    FFXI Server
    Fenrir

    Quote Originally Posted by Kryssan View Post
    I can't say I've ever worked on SPF entries that included multiple domains, so I don't know how much help I'll be with that. However, one thing that did strike my curiosity - why are you using +all at the end? Wouldn't that default to all pass? Shouldn't it be -all or ~all (depending on what you're trying to accomplish)?
    Yeah sorry I didn't edit the OP but here's what I've cut my spf down to using Microsoft's wizard.

    v=spf1 a ip4server IP) ip4business's static IP) a:constantcontact.com include:constantcontact.com mx:constantcontact.com -all
    Both of the spf record checkers I linked above said there were no syntax errors with this version. I went to check the live version again today and it's still not working.

    So basically what I need to do with this is allow Constant Contact to send emails on our behalf because we use them for mass emailings. I have a list of domains and IPs that they use below. Hope someone knows how to get this working.

    http://constantcontact.custhelp.com/...ng/r_id/111930


    Spoiler: show
    All mail from Constant Contact is sent from:

    IP Range: 208.75.123.0 - 208.75.123.255
    CIDR: 208.75.123.0/24
    Network/Netmask: 208.75.123.0 255.255.255.0

    Specific IPs sending from this range:

    208.75.123.1 coi001.confirmedcc.com
    208.75.123.2 coi002.confirmedcc.com
    208.75.123.3 coi003.confirmedcc.com
    208.75.123.103 coi103.confirmedcc.com


    208.75.123.130 ccm22.constantcontact.com
    208.75.123.131 ccm23.constantcontact.com
    208.75.123.132 ccm24.constantcontact.com
    208.75.123.133 ccm25.constantcontact.com
    208.75.123.161 ccm26.constantcontact.com
    208.75.123.162 ccm27.constantcontact.com
    208.75.123.225 ccm29.constantcontact.com
    208.75.123.226 ccm30.constantcontact.com
    208.75.123.227 ccm31.constantcontact.com
    208.75.123.228 ccm32.constantcontact.com
    208.75.123.193 ccm33.constantcontact.com
    208.75.123.194 ccm34.constantcontact.com
    208.75.123.195 ccm35.constantcontact.com
    208.75.123.196 ccm36.constantcontact.com
    208.75.123.250 ccm37.constantcontact.com
    208.75.123.163 ccm38.constantcontact.com
    208.75.123.164 ccm39.constantcontact.com
    208.75.123.134 ccm134.constantcontact.com
    208.75.123.135 ccm135.constantcontact.com
    208.75.123.165 ccm165.constantcontact.com
    208.75.123.166 ccm166.constantcontact.com
    208.75.123.197 ccm197.constantcontact.com
    208.75.123.198 ccm198.constantcontact.com
    208.75.123.200 ccm200.constantcontact.com
    208.75.123.201 ccm201.constantcontact.com
    208.75.123.202 ccm202.constantcontact.com
    208.75.123.245 mail245.nutshellmail.com

  8. #8
    Relic Weapons
    Join Date
    Oct 2006
    Posts
    335
    BG Level
    4

    If the web tool isn't seeing the TXT record, then either the zone file still isn't being updated properly or the zone file may not be included in your domain's external view (if you have split views). I think I have a copy of Windows Server 2008 around here somewhere, I'll try to configure it with a DNS role...

  9. #9
    New Spam Forum
    Join Date
    Aug 2009
    Posts
    149
    BG Level
    3
    FFXI Server
    Fenrir

    I feel like a busta about this but I guess the solution was more obvious than expected. Turns out SPF record was supposed to go into our domain provider's DNS Manager (GoDaddy), not the servers. I got everything working now, thanks for sticking around for the help Teorem. Now to just get things cleared up with the ISPs that are blocking our email

Similar Threads

  1. Need help clearing up an audio file
    By Kuishen in forum Tech
    Replies: 1
    Last Post: 2012-05-03, 23:25
  2. Replies: 4
    Last Post: 2010-09-13, 13:40
  3. Need help setting up Rivatuner =x
    By SubzeroDiabolos in forum Tech
    Replies: 0
    Last Post: 2010-06-15, 18:46
  4. Setting up Windower Help
    By Ruin in forum Tech
    Replies: 1
    Last Post: 2008-06-13, 13:57