DocumentationConfigure DNS

Configure DNS

SPF, DKIM, and DMARC records generated by MailingCore.

After creating a domain, GET /domains/:id/dns returns the records to publish. Exact values depend on your tenant; below is the typical format.

SPF

Authorizes MailingCore servers to send on your behalf:

Type: TXT
Host: @  (or yourdomain.com)
Value: "v=spf1 include:_spf.mailingcore.com ~all"

DKIM

Cryptographic signature on each message:

Type: TXT
Host: mc1._domainkey.yourdomain.com
Value: "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0B..."
  • Fixed selector: mc1
  • 2048-bit RSA key; private key stored encrypted on the platform

DMARC

Alignment policy and reporting:

Type: TXT
Host: _dmarc.yourdomain.com
Value: "v=DMARC1; p=none; rua=mailto:[email protected]"

Recommended gradual rollout

  1. p=none — monitor only (1–2 weeks)
  2. p=quarantine — quarantine failures
  3. p=reject — strict production

Tips

  • Do not duplicate SPF records; combine includes in a single TXT
  • Allow DNS propagation (up to 48 h; often less)
  • Use low TTL during migration to iterate quickly