Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, September 25, 2017 5:34 PM
I have had SPF records for years with no problems due to some marketing issues and other things it has ballooned out beyond 255 Characters which I am afraid with the other text records in my domain will exceed the 512 Octet limit. I have been trying to add the " " characters I have seen online to concatenate the record without luck. Every SPF syntax check I use immediately rejects any record I put in with " " in them.
So for a very long record what is the syntax you would use to somehow shorten it to make sure it fits in the length. While this is only for my one domain I have many IP's for both my own servers and dedicated IP's and domains for 3rd party marketers so that they can send as our domain without issues.
Thank you
All replies (4)
Monday, October 2, 2017 5:19 PM âś…Answered | 1 vote
I opened a ticket with MS and what I am attempting is not possible. So unless you switch to BIND DNS you cannot have SPF records longer than 255 characters. so don't waste your time trying to figure out concatenation with your Microsoft DNS box.
One thing I found is that you can add this record and skip the IP4: entry on each address and the DNS server will accept it as a TXT record however SPF will not so just a FYI in case someone else see that.
Wednesday, September 27, 2017 7:55 AM
Hi Craigbon,
Please check if the following link is helpful:
**TXT SPF record characters limition **
**Can I have a TXT or SPF record longer than 255 characters? **
https://kb.isc.org/article/AA-00356/0/Can-I-have-a-TXT-or-SPF-record-longer-than-255-characters.html
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Best Regards,
Candy
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, September 27, 2017 12:00 PM
Yes I have seen those but isn't the example
@ IN TXT "v=spf1 include:_spf1.myhost.com include:_spf2.myhost.com a mx ?all"
_spf1 IN TXT "v=spf1 ip4:244.11.23.13 ip4:144.21.23.13 a mx ?all"
_spf2 IN TXT "v=spf1 ip4:222.11.11.13 ip4:244.182.23.191 ip4:203.101.22.13 a mx ?
Something from a BIND DNS server? I have tried via command line and Powershell on my MS DNS box anytime I added " " in a statement it is rejected.
Craig
Thursday, August 16, 2018 8:43 PM
Great to finally find this in writing. It's difficult to find this information on the web. We've moved to using "flattened" SPF records and need to publish them in 512(ish) byte chunks for each in the chain. Works fine in BIND in our prod environment but not in our test environment using AD DNS. Hopefully it will be supported in the future, but for now I can stop wasting my time trying. Thank you!