A Go CLI tool to flatten DNS SPF records and output a list of IP addresses.
-
Updated
Jan 22, 2026 - Go
A Go CLI tool to flatten DNS SPF records and output a list of IP addresses.
SPF Flattener — A lightweight Go tool to "flatten" SPF records by resolving includes, A/MX/PTR/IP mechanisms and producing optimized TXT outputs while respecting the RFC 7208 DNS lookup limit. Ideal for admins and devs who need reliable, prioritized SPF generation, deterministic network ordering, and multi‑TXT segmentation for large SPF datasets.
Add a description, image, and links to the spf-flattener topic page so that developers can more easily learn about it.
To associate your repository with the spf-flattener topic, visit your repo's landing page and select "manage topics."