Cloudflare DNS setup

Operations

Adding myagentmail's records in the Cloudflare dashboard.

  1. Log into the Cloudflare dashboard and select your domain.
  2. Click DNS in the sidebar, then Records.
  3. For each record we returned from POST /v1/domains:
    • Type: TXT / CNAME / MX (as shown in the response)
    • Name: the host — strip the root domain, Cloudflare adds it automatically (e.g. for 1234567._domainkey.yourcompany.com, enter 1234567._domainkey)
    • Content / Target: the record value
    • Proxy status: DNS only (the orange cloud must be off for mail records)
    • TTL: Auto
  4. Save each record.
  5. Wait 1-5 minutes, then hit GET /v1/domains/{domain}/verify to re-check.
!

The orange cloud (proxy) must be off for MX and DKIM records. Cloudflare only proxies HTTP/HTTPS traffic; proxying DNS records for mail will break them.