Why isn’t my long SPF record showing all entries in validation tools?

0
8
Asked By SkyBlueFrog42 On

I've been dealing with some domain spoofing issues and while trying to secure things, I've found that SPF validators keep claiming I don't have a -ALL at the end of my long SPF record. My record has numerous lines of ip4 entries due to multiple includes and flattening, but despite having -all at the very end of the last entry, the validators only seem to return the first group of IPs. I attempted to add spaces instead of new lines, but that led to validators failing because they saw two IP addresses as connected. What am I missing with this SPF formatting?

3 Answers

Answered By HelpfulHacker77 On

Another article you might want to look at is also talking about this. Make sure your SPF record is properly formatted to prevent entries from being combined incorrectly!

SkyBlueFrog42 -

I checked that article too, but it leads back to the same formatting issue. The validators continue to flag it as invalid.

Answered By TechGuru93 On

I totally get your frustration! Have you checked the guide from AWS on configuring long SPF records? It suggests keeping spaces between IP groups, but that doesn't seem to work for you?

SkyBlueFrog42 -

Yes, I did check that guide and followed it, but when I add spaces, the validators just ignore those and combine IPs. It's really confusing!

Answered By CuriousPenguin88 On

It sounds like you're facing issues with DNS lookups affecting your SPF record. If you have a lot of includes, consider flattening the SPF record into a simple list of IPs. That could help with the validation.

SkyBlueFrog42 -

I tried flattening it, but the validators still only show the first group of IPs and miss the -all part.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.