Skills catalog DNS and email operations

SPF Flattener

Useful for mail operations, audits, and agent workflows that need to reason about SPF include expansion.

spfflattener v1 open live

Use This Skill

Endpoints

Method Path Status Modes
POST /api/v1/spfflattener live json
POST /spf-flatten/process web-form-csrf-recaptcha html, json

Input Contract

Provide a domain name whose TXT records contain an SPF policy.

Output Contract

Returns traversal stages, raw output, final flattened SPF record, or a DNS/error message.

Errors

Invalid domain, no SPF record, DNS lookup failure, flattening process failure.

Auth and Limits

Anonymous JSON API for initial rollout. Web form submissions remain protected by reCAPTCHA.

JSON API uses the standard API throttle. Web use is protected by reCAPTCHA.

Examples

Requests

{"domain":"example.com"}

Responses

{"domain":"example.com","finalSPFRecord":"v=spf1 ip4:192.0.2.0/24 ~all"}

FAQ

Should every SPF record be flattened?

No. Flattening can help with lookup limits, but it also creates maintenance obligations when provider ranges change.

Related Skills