Domain Setup for Cold Email
v0.3.0Plan, apply, verify and roll back SPF, DKIM, DMARC and MX for cold email domains on Cloudflare
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
domain_audit
Check SPF, DKIM, DMARC and MX on public DNS for each domain. Read-only; needs no Cloudflare token.
| Parameter | Type | Description |
|---|---|---|
domains * | array | Domains, e.g. ['getacme.com','tryacme.com']. Max 100. |
dkim_selectors | Custom DKIM selectors to check. |
domain_plan
Build a reviewable diff of DNS changes per domain. Writes nothing to DNS. Merges into existing SPF (never adds a second record), blocks plans over the 10-lookup limit, never overwrites live MX unless replace_mx=true, never changes an existing DMARC policy, and never guesses Microsoft MX or DKIM values. Per-domain values go in config.per_domain. Returns a plan_id.
| Parameter | Type | Description |
|---|---|---|
config * | ||
domains * | array | Domains, e.g. ['getacme.com','tryacme.com']. Max 100. |
domain_apply
Apply a saved plan to Cloudflare. Each domain's DNS changes go in one atomic batch (all or nothing). Skips any domain whose DNS changed since the plan was made. Returns run_id for domain_rollback.
| Parameter | Type | Description |
|---|---|---|
plan_id * | string | |
confirm | boolean | False = dry run. True writes to Cloudflare. Requires user approval. |
only | Apply to a subset of the plan's domains. |
domain_verify
Check that every planned change is visible on public DNS and that forwarding answers with its 301.
| Parameter | Type | Description |
|---|---|---|
plan_id * | string | |
wait_seconds | integer | Poll up to this long for records to appear. |
domain_rollback
Undo every change made by one domain_apply run, in reverse order.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
confirm | boolean | False = show what would be undone. |