In our scenario, We're running into an issue with our SPF records in route53. We are receiving SPF Too Many DNS Lookups because we are using multiple mail services. Is there a way to resolve this? I saw one thread stating to run a look up on the domains and include them by IP but that doesn't seem too stable of a solution. Another said to us PTR but that seems like the same path. Is there a better way you know of that we could achieve this?
"Error! 15 DNS lookups required to evaluate the SPF record. The maximum is 10."
v=spf1 ip4:52.209.21.221 include:spf1.abc.com include:spf2.abc.com ~all
We have 7 mailing platforms which is causing too many DNS lookups.
spf1.abc.com -
"v=spf1 include:_spf.salesforce.com include:spf.protection.outlook.com include:mail.zendesk.com ~all"
spf2.abc.com -
"v=spf1 include:amazonses.com include:sendgrid.net include:abc-com.spf.smtp25.com include:_spf.google.com ~all"
Is this modification will help
"v=spf1 ip4:52.209.21.221 include:spf1.abc.com -all"
Do we need to go with SPF flattening technique, how can we achieve that can anyone advise me on this?