intodns__generate_spf
Build an SPF (Sender Policy Framework) record — the DNS TXT record that lists which servers may send mail for a domain. Pass the senders as mechanisms: include for a provider's own SPF (Google Workspace is _spf.google.com, Microsoft 365 is spf.protection.outlook.com, SendGrid is sendgrid.net), ip4/ip6 for your own servers, plus useMx/useA to authorise the domain's own MX or A records. The policy decides what receivers do with mail from anywhere else: 'fail' (-all, the product
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "intodns__generate_spf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| useA | No | Authorise the domain's own A/AAAA records. Costs one DNS lookup. | |
| useMx | No | Authorise the domain's MX hosts. Costs one DNS lookup. | |
| policy | No | What receivers do with everything else: fail (-all) for production, softfail (~all) while testing. Defaults to fail. | |
| mechanisms | No | Senders to authorise, in the order they should appear in the record |