MailgunDKIM setup

Set up DKIM for Mailgun

The exact steps in the Mailgun admin console, followed by a checker to confirm the record resolves once you publish it.

Steps

  1. In Mailgun, add your sending domain (most people use a subdomain such as mg.yourdomain.com) under Sending → Domains.
  2. Mailgun lists the DNS records to publish. Add the DKIM TXT record at the selector host it shows (commonly a selector like krs or smtp under _domainkey).
  3. Publish the records on the exact domain or subdomain Mailgun specifies. A record on the root when Mailgun expects the subdomain will not verify.
  4. Use Mailgun's Verify DNS Settings button, then confirm with a test send that dkim=pass appears.

Confirm it workedDKIM checker

DNS changes take time to propagate. Check the record once you have published it.

Leave the selector blank and we will probe the selectors that common providers use.