DMARC Record Generator

Build a DMARC record step by step and copy it straight into your DNS.

How it works

Publish the record as a TXT record at _dmarc.yourdomain.com. Start with p=none and a report address, review reports for a few weeks, then tighten to quarantine and reject.

Automate it with the API

Run this check for every address in your product, from any language.

curl -X POST "https://www.mailrambo.com/v1/verify?detail=full" \
  -H "Authorization: Bearer $MAILRAMBO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "jane@acme.com"}'
# -> detail.dns: { spf, dmarc_policy, dkim_selectors, bimi, ptr, mx_hosts }

API reference · Get a free API key

Frequently asked questions

What host name do I use?

_dmarc (your DNS panel appends the domain), so the full name is _dmarc.yourdomain.com.

Which policy should I start with?

p=none with rua reporting. Move to quarantine once every legitimate sender passes, then reject.

Run these checks from your code

Verify addresses at signup, clean lists and read SPF/DKIM/DMARC with one API call. 100 free verifications a month, test keys that cost nothing, and the API on every plan.