Achatador de SPF
Reduz includes SPF aninhados em um único registro que usa apenas endereços IP — zero consultas DNS, sem limite de 10.
Se você informar um domínio, buscaremos o registro SPF ao vivo primeiro.
Why flatten SPF?
SPF is limited to 10 DNS lookups when it is evaluated. Each include: (for Google, a CRM, an ESP, etc.) can consume several. Cross the limit and SPF returns permerror and fails — even though your record looks correct.
What flattening does
Flattening resolves the include: mechanisms down to their underlying IP addresses, so your record uses ip4:/ip6: entries instead of chained lookups. That keeps you safely under the limit.
The trade-off
Flattened records must be kept in sync: if a provider changes its sending IPs, your hardcoded list goes stale. Re-check periodically, or only flatten the includes that are stable.