network_spf_record_checker
Look up and validate a domain's SPF TXT record to prevent email spoofing. Supports live DNS query or parsing an SPF string for errors and warnings.
Instructions
SPF Record Checker. Look up and validate a domain's SPF (Sender Policy Framework) TXT record for email authentication and anti-spoofing. With action=lookup (default) it makes a live DNS TXT query for the domain and returns the SPF record, all matching records, and a multiple-record flag. With action=parse it parses an SPF string you supply (no network call) into mechanisms, modifiers, validity, warnings, and errors. Use network_dmarc_record_checker instead for DMARC alignment/reporting policy, or network_mx_record_lookup for mail-server MX records; this tool only handles SPF. Performs an outbound DNS query (may use a remote worker peer); results can change between calls as DNS records change. No auth required; rate-limited to 10 req/min, 60/hr, 200/day for anonymous callers, with CAPTCHA above 30/hr.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to query for an SPF record (registrable domain or hostname, e.g. example.com); required for action=lookup, ignored for action=parse. No protocol or path. | |
| action | No | lookup performs a live DNS TXT query for the domain; parse parses the supplied record string offline with no network call. | lookup |
| record | No | Raw SPF record string to parse; required only when action=parse and must start with v=spf1. | |
| worker_id | No | Optional registered healthy worker peer ID. Omit to use the default master-server behavior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | True when the request was processed; false on invalid input or DNS failure. | |
| error | No | Human-readable error message when success is false; absent otherwise. | |
| data | No | Result payload; shape depends on action. |