Get Spf Record
get_spf_recordSPF record and how strict it is.
Returns the SPF TXT record, the qualifier on its all mechanism (fail / softfail / neutral / pass) and what that means in practice, plus whether more than one SPF record exists — which receivers treat as an error, leaving the domain unprotected. Use when diagnosing why mail from a domain is being rejected or marked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to check, e.g. "example.com". A full email address is accepted and the domain is taken from it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | No | ||
| domain | Yes | ||
| record | No | The raw SPF TXT record, or null when absent. | |
| strict | No | True only for `-all`, the one strict answer. | |
| meaning | No | What the qualifier means in practice. | |
| qualifier | No | The qualifier on the `all` mechanism. | |
| multiple_records | No | More than one SPF record: receivers treat this as permerror, so SPF effectively fails. |