Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Domain Setup for Cold Email

by anasmughal239-altversion 0.3.0i★ 4iRuns on your computerRepository ↗
Registry nameio.github.anasmughal239-alt/domain-setup-mcp

How to install

What it does

Plan, apply, verify and roll back SPF, DKIM, DMARC and MX for cold email domains on Cloudflare

  • Connects Runs on your computer
  • Account or key Needs CLOUDFLARE_API_TOKEN
  • Category Chat & email

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity8/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score20/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Domain Setup for Cold Email. Follow https://mcp.popnx.com/i/anasmughal239-alt-domain-setup-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Domain Setup for Cold Email key (create it on the maker’s site) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Download the maker’s installer

    Download the maker’s .mcpb file

    The .mcpb file comes straight from the maker; we do not change it

  2. Double-click the file, then click Install in the Claude desktop app

  3. Try it

    Use Domain Setup for Cold Email and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Domain Setup for Cold Email or shows a Domain Setup for Cold Email tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Domain Setup for Cold Email yet

Domain Setup for Cold Email runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Domain Setup for Cold Email

  • You need a Domain Setup for Cold Email key (create it on the maker’s site) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Domain Setup for Cold Email key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
  • You need a Domain Setup for Cold Email key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
  • You need a Domain Setup for Cold Email key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

B · Others in Chat & email that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Domain Setup for Cold Email key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Domain Setup for Cold Email for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user domain-setup --env CLOUDFLARE_API_TOKEN=your-value -- uvx domain-setup-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For CLOUDFLARE_API_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Domain Setup for Cold Email tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a Domain Setup for Cold Email key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user domain-setup --env CLOUDFLARE_API_TOKEN=your-value -- uvx domain-setup-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Domain Setup for Cold Email listed as connected

  6. Try it

    Use Domain Setup for Cold Email and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Domain Setup for Cold Email or shows a Domain Setup for Cold Email tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Domain Setup for Cold Email key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Domain Setup for Cold Email for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "domain-setup": { "command": "uvx", "args": [ "domain-setup-mcp" ], "env": { "CLOUDFLARE_API_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For CLOUDFLARE_API_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Domain Setup for Cold Email tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a Domain Setup for Cold Email key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Domain Setup for Cold Email settings, CLOUDFLARE_API_TOKEN is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Domain Setup for Cold Email and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Domain Setup for Cold Email or shows a Domain Setup for Cold Email tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Domain Setup for Cold Email key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Domain Setup for Cold Email for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "domain-setup": { "type": "stdio", "command": "uvx", "args": [ "domain-setup-mcp" ], "env": { "CLOUDFLARE_API_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For CLOUDFLARE_API_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Domain Setup for Cold Email tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a Domain Setup for Cold Email key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Domain Setup for Cold Email settings, CLOUDFLARE_API_TOKEN is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Domain Setup for Cold Email and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Domain Setup for Cold Email or shows a Domain Setup for Cold Email tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Domain Setup for Cold Email💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user domain-setup --env CLOUDFLARE_API_TOKEN=your-value -- uvx domain-setup-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "domain-setup": {
      "command": "uvx",
      "args": [
        "domain-setup-mcp"
      ],
      "env": {
        "CLOUDFLARE_API_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "domain-setup": {
      "command": "uvx",
      "args": [
        "domain-setup-mcp"
      ],
      "env": {
        "CLOUDFLARE_API_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "domain-setup": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "domain-setup-mcp"
      ],
      "env": {
        "CLOUDFLARE_API_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • CLOUDFLARE_API_TOKEN secret required env
    Cloudflare API token with Zone Read, DNS Edit and Single Redirect Edit, limited to your zones

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.3.0
Published to registryi
Nov 9, 2026
Code last changedi
Nov 13, 2026
Maker
anasmughal239-alt
Packages
pypi: domain-setup-mcp
mcpb: …/domain-setup-mcp.mcpb
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account anasmughal239-alt, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 6 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for domain-setup-mcp@0.3.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/anasmughal239-alt-domain-setup-mcp.svg)](https://mcp.popnx.com/en/servers/anasmughal239-alt-domain-setup-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Chat & emaili

  • More stars than 92% of the other 2018 servers in this category
  • Published to the registry more recently than 75% of the other 2018 servers in this category
  • Basic checks equal to or better than 99% of the other 2018 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Domain Setup for Cold Email safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: CLOUDFLARE_API_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 6 days ago, and the latest version (0.3.0) reached the registry 10 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv), MCPB on your computer.

What can I use instead?

In the same category: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

by anypostWidely used↓ 5.4K/wk★ 1.4KUpdated 5 days ago

Computer or cloud✓ service owner · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

by infobipEarly★ 36Updated 13 months ago

Runs in the cloud✓ service owner · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

by w1neEarly★ 35Updated 23 days ago

Runs in the cloud✓ service owner · kernelcad.com
Compared with similar ones
This one
Domain Setup for Cold Email
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoYesNo
Basic checks3/35/54/44/44/44/4
LicenseMITMITAGPL-3.0Apache-2.0MITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

domain-setup-mcp

An MCP server for Claude and other MCP clients that sets up cold email domains in bulk on Cloudflare: verification TXT, SPF, DKIM, DMARC, MX, custom tracking domains and website forwarding. Works with Google Workspace, Microsoft 365 and Amazon SES, and with Smartlead and Instantly tracking.

Use it to audit email deliverability DNS, fix SPF records, add DMARC, and roll out sending domains for outbound campaigns without hand-editing DNS.

Agencies set up dozens of domains per client by hand. One wrong SPF edit (a second record, an overwrite, an 11th lookup) or one DKIM key pasted onto the wrong domain silently breaks deliverability. This server plans every change as a reviewable diff, refuses unsafe plans, applies each domain atomically, and can undo any run.

Tools

ToolWrites?What it does
domain_auditNoChecks SPF, DKIM, DMARC and MX on public DNS. No token needed.
domain_planNoBuilds a per-domain diff against current Cloudflare records. Returns a plan_id.
domain_applyYesApplies a plan, one atomic batch per domain. Dry run unless confirm=true. Returns a run_id.
domain_verifyNoConfirms every planned record is visible on public DNS and that forwarding answers with its 301.
domain_rollbackYesUndoes one apply run, including redirect rules. Dry run unless confirm=true.

All tools take lists of domains (max 100 per call). One failing domain never stops the batch.

What gets configured

ItemGoogle WorkspaceMicrosoft 365Amazon SES
Verification TXTgoogle-site-verification=... (per domain)MS=ms... (per domain)n/a
SPFmerge include:_spf.google.commerge include:spf.protection.outlook.comon MAIL FROM subdomain
MXsmtp.google.com (1)value you supply (never guessed)MAIL FROM: exactly one MX
DKIMTXT you supply (per domain)2 CNAMEs you supply (per domain)3 CNAMEs from tokens
Extraautodiscover CNAME
DMARCp=none default, quarantine optional, RFC 9989 np optionalsamesame
TrackingSmartlead emailtracking or Instantly instsamesame
Forwarding301 from root and www to your sitesamesame

Safety rules (the engineering decisions)

  1. Per-domain secrets stay per-domain. DKIM keys, Microsoft DKIM targets, SES tokens and verification codes are unique to each domain. Passing one shared key for a multi-domain plan is rejected, and Microsoft targets are checked against the domain they're pasted for.
  2. SPF is merged, never duplicated. Existing mechanisms are kept, duplicate records are merged into one, and the result is resolved recursively against live DNS (Google's include dropped from 4 lookups to 1 in Dec 2025; static tables are wrong, live resolution isn't). Over 10 lookups or 2 void lookups blocks the plan.
  3. Never guess provider values. Microsoft MX moved to *.mx.microsoft for new domains in July 2026, and Microsoft says the admin center or Graph API is the only source of truth. Microsoft DKIM targets contain a routing character Microsoft assigns. The tool asks for both.
  4. Atomic apply. Each domain's DNS changes go through Cloudflare's batch endpoint in one transaction. If anything fails, nothing is written for that domain.
  5. Drift check. A plan stores a fingerprint of the zone. If DNS changed between plan and apply, that domain is skipped.
  6. No double apply. A plan applies once per domain; a clean rollback re-enables it.
  7. Full rollback. Snapshots and change logs restore the exact original records and the previous redirect ruleset.
  8. Live mail is protected. Existing MX is never replaced unless replace_mx=true. Existing DMARC is never changed. Existing website records are never overwritten by forwarding.
  9. CNAME conflicts are blocked, both ways.
  10. SES MAIL FROM gets exactly one MX, as AWS requires; extras are removed and other records on that subdomain are flagged.
  11. DMARC report authorization is checked. If rua points at another domain, receivers only send reports when that domain publishes client.com._report._dmarc.agency.com = v=DMARC1;. The plan gives the exact record.
  12. RFC 9989 aware. Audit flags pct, rf, ri (removed in May 2026) and the rua size suffix.
  13. Rate limits handled honestly. Cloudflare blocks all calls for 5 minutes after 1,200 requests. Short waits are retried; the 5-minute block returns a clear error instead of hanging the agent.
  14. Input validated before any network call: domains, emails, URLs, regions, DKIM keys (pasted quotes and line breaks are cleaned), tokens, verification codes.

Install in Claude Desktop

  1. Download domain-setup-mcp.mcpb from the latest release.
  2. Double-click it, or go to Settings > Extensions > Advanced settings > Install Extension.
  3. Enter your Cloudflare API token when asked (see the token permissions below).

Claude Desktop supplies its own uv to run the extension. Keep Python 3.11 or newer installed: running without it hasn't been tested.

Setup from source

Requires Python 3.11 or newer.

git clone https://github.com/anasmughal239-alt/domain-setup-mcp.git && cd domain-setup-mcp

pip install -e ".[dev]" pytest # 116 tests, all offline

Cloudflare token: My Profile > API Tokens > Create Token. Permissions: Zone: Read, DNS: Edit, and Single Redirect: Edit if you use forward_to (the token summary lists this as Dynamic URL Redirects Write). Under Zone Resources choose Specific zone and add only the domains you're setting up. Avoid "All zones": both setups below save the token in plain text in your client's config file, so keep it as narrow as you can, and delete it in Cloudflare when you're done.

Use a real token value in the commands below, and never commit it. If you read it from a secure PowerShell prompt, each character prints as *; one * after pasting means the paste failed, so right-click to paste instead of Ctrl+V.

Claude Code
claude mcp add domain-setup --env CLOUDFLARE_API_TOKEN=your_token -- domain-setup-mcp
Claude Desktop (claude_desktop_config.json)
{

"mcpServers": { "domain-setup": { "command": "domain-setup-mcp", "env": { "CLOUDFLARE_API_TOKEN": "your_token" } } } }

Plans and run logs are stored in ~/.domain-setup-mcp (override with DOMAIN_SETUP_HOME). They contain DKIM public keys and verification codes, which are public DNS data.

Example config (2 Google Workspace domains)

{

"provider": "google", "dmarc_rua": "dmarc@agency.com", "tracking_tool": "smartlead", "forward_to": "https://acme.com", "per_domain": { "getacme.com": { "verification_txt": "google-site-verification=...", "dkim": { "google_txt": "v=DKIM1; k=rsa; p=MIIB..." } }, "tryacme.com": { "verification_txt": "google-site-verification=...", "dkim": { "google_txt": "v=DKIM1; k=rsa; p=MIIB..." } } } }

Typical Google flow: run once with verification only, verify in the Admin console, activate Gmail, wait 24 to 72 hours for DKIM to become available, then run again with the DKIM keys. Re-running is safe; correct records are left alone.

Config reference

FieldNotes
providergoogle, microsoft or ses
per_domain. .verification_txtgoogle-site-verification=... or MS=ms...
per_domain. .dkim.google_txtAdmin console > Apps > Gmail > Authenticate email (2048-bit). Don't regenerate later: it replaces the key
per_domain. .dkim.microsoft_selector1_target / selector2_targetExact Selector1CNAME / Selector2CNAME from Defender portal or Get-DkimSigningConfig
per_domain. .dkim.ses_tokensThe 3 Easy DKIM tokens
per_domain. .mxRequired for Microsoft 365: exact MX from Admin center > Domains
dkimShortcut for single-domain plans only
dmarc_ruaMailbox for aggregate reports
dmarc_policynone (default), quarantine, reject (warns). Only for new DMARC records
dmarc_npRFC 9989 policy for non-existent subdomains, e.g. reject
tracking_tool / tracking_subdomainsmartlead (host emailtracking) or instantly (host must be inst)
forward_toFull URL. Adds proxied 192.0.2.1 placeholders for root and www if no web record exists, plus a 301 redirect rule
replace_mxOff by default
microsoft_autodiscoverOn by default for Microsoft
ses_mail_from / ses_regionCustom MAIL FROM so SPF aligns for SES

Known limits (v0.3)

  • Cloudflare only.
  • Live-tested on Windows with Python 3.14, Google Workspace settings and an empty zone (plan, apply, verify, rollback, re-apply). Merging into existing records, restoring them on rollback, Microsoft 365 and SES are covered by the offline tests only so far. Try a test domain first and review every diff.
  • domain_verify can only confirm that proxied A placeholders resolve, because they answer with Cloudflare IPs rather than the planned value. It checks forwarding over HTTPS on the root and www only, not over plain HTTP.
  • The DMARC authorization record lives on the report domain, which may be in another account, so the tool reports it instead of writing it.
  • Rollback restores the redirect ruleset as it was before the run. Redirect rules someone else added to that zone after the run are lost by a rollback.
  • Some practitioners argue that forwarding cold domains to the main site links their reputation. It's off unless you set forward_to.

Sources (checked November 2026)

  • Google Workspace: Set up DKIM, MX records, verify with TXT (knowledge.workspace.google.com)
  • Microsoft: DKIM configure (learn.microsoft.com/defender-office-365/email-authentication-dkim-configure); MC1048624 MX provisioning change; Exchange Online DNS records
  • AWS SES custom MAIL FROM (docs.aws.amazon.com/ses/latest/dg/mail-from.html)
  • Cloudflare: batch DNS record changes, API rate limits, redirect one domain to another, Single Redirects via API
  • RFC 9989/9990/9991 (DMARC, May 2026); RFC 7208 (SPF limits); RFC 7489 §7.1 (external report authorization)
  • Smartlead and Instantly help centers (custom tracking domains)
  • Outlook.com high-volume sender requirements (May 2025); Gmail sender guidelines

Measure this (for the case study)

  1. Time to set up 20 domains: manual in the Cloudflare dashboard vs plan + apply + verify.
  2. Errors caught: run domain_audit across real client domains and count duplicate SPF, lookup overflows, missing DMARC, unauthorized report destinations, deprecated tags.
  3. Test suite: 116 offline tests, the Cloudflare client against a mock API, and mutation checks on every safeguard.