If you are receiving an SPF error with to many queries you can opt to flatten your SPF records with a company like https://www.autospf.com - They will flatten ALL of your SPF records, they will automatically flatten your records and either automatically manage them, or they will alert you when there are changes to your SPF record.
Here is how you can build a flattened SPF record for your domain that includes our IPv4 IP's. Please be aware that you will still need to add your original SPF includes to this record, and simply copy and pasting will not work. But it will provide you with a head start on solving this problem. Please adjust for your own usage and update the yourdomain.com part of the record.
Each SPF record is kept to less than 512 bytes to fit into a single UDP packet (assuming no other TXT records are sharing the DNS label).
NOTE: this approach does not take into account administrative or domain boundaries, and is meant to show that "minified" SPF records are possible. The presence of unusual qualifiers, macros, and creative semantics will likely yield less than optimal results.
|yourdomain.com||v=spf1 ip4:188.8.131.52/20 ip4:184.108.40.206/24 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 include:spf1.yourdomain.com -all|
|spf1.yourdomain.com||v=spf1 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 include:spf2.yourdomain.com -all|
|spf2.yourdomain.com||v=spf1 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168 ip4:22.214.171.124 ip4:126.96.36.199 ip4:188.8.131.52 ip4:184.108.40.206 ip4:220.127.116.11 ip4:18.104.22.168/25 ip4:22.214.171.124/25 -all|