check_spf
Audit SPF for a domain by parsing mechanisms, recursively following includes/redirects, and counting DNS lookups against the RFC-7208 10-limit to flag when flattening is needed.
Instructions
Read-only SPF parse and validation for a domain. Recursively walks include/redirect mechanisms to build the full lookup graph, counts DNS lookups against the RFC-7208 10-lookup limit, and returns flattening guidance when the count is close to or over the limit. Returns parsed mechanisms, lookup graph, total count, qualifier (~all / -all / +all), and warnings. Use for SPF auditing or before adding new include: senders; use check_email_security for the broader SPF+DKIM+DMARC overview. No auth, no side effects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name only, e.g. example.com (no URL, path, or port) |