domain verify Email / SMTP Origin: Network OSI layer 7 · Application Last updated 18 Nov 2026

Mailgun domain not verified / 'Domain not found': DNS records (SPF, DKIM, MX, tracking CNAME) missing

Mailgun can't send or marks the domain unverified because required DNS records aren't published.

Exact message you may see Domain not found MailgunMailgun domain unverified DNSdomain mg.example.com is not verifiedMailgun DNS records not verifiedMailgun domain state unverified
Seen on: Mailgun DNS Email

Meaning

Add the TXT (SPF), DKIM TXT (k1._domainkey or similar), MX (for receiving) and CNAME (tracking) records exactly as shown in the dashboard, remove duplicate SPF records, avoid Cloudflare proxy for CNAMEs, wait for propagation and click "Verify DNS settings".

Common causes

  • Records not added or typos
  • Duplicate SPF record
  • Cloudflare proxying on CNAME
  • DNS propagation delay
  • Wrong domain/subdomain used

⚡ Quick fix

  1. Copy records exactly from the dashboard
  2. Merge SPF includes into a single record
  3. Disable proxy on tracking CNAME and verify

Detailed fix by platform

Shell

  1. bash
    dig +short TXT mg.example.com
    dig +short TXT k1._domainkey.mg.example.com

How to diagnose

  1. TXT/DKIM — Published?
  2. SPF — Single record?
  3. Proxy — Off?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

5.4.310 — Exchange Online: 550 5.4.310 DNS domain does not exist (DNS domain name could not be resolved) (Email / SMTP)5.4.310550 5.1.8 — 550 5.1.8 Sender address rejected: Domain not found (sender domain has no DNS A/MX) (Email / SMTP)550 5.1.8550 5.7.25 PTR record required — SMTP: 550-5.7.25 The IP address sending this message does not have a PTR record setup, or the corresponding forward DNS entry does not point to the sending IP (Email / SMTP)550 5.7.25 PTR record…553 5.1.8 — 553 5.1.8 Domain of sender address <x> does not exist (sendmail/Exim sender verification) (Email / SMTP)553 5.1.8App Service — Azure App Service: custom domain SSL binding failed (certificate not found, thumbprint or hostname validation) (SSL / TLS)App ServiceDKIM: no key for signature — DKIM: dkim=permerror (no key for signature) / key not found in DNS selector._domainkey (Email / SMTP)DKIM: no key for sign…Mailgun — Mailgun 401 Forbidden: wrong API key or region (EU domains need api.eu.mailgun.net) (Email / SMTP)MailgunMailgun: Sandbox domains are for test purposes only — Mailgun: 403 Forbidden — Sandbox subdomains are for test purposes only. Please add your own domain or add the address to authorized recipients (Email / SMTP)Mailgun: Sandbox doma…domain ve…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.