Deliverability

MailPoet: Error Authenticating Your Sender Domain (Cloudflare Fix)

MailPoet shows this error when its DNS lookup can't find the exact records it asked for. On Cloudflare the usual causes are proxied (orange cloud) CNAMEs, a doubled domain in the host field, quotes around TXT values, a second SPF record, or editing a zone that isn't authoritative. Query the records with dig to see which.

Sohail HussainSohail Hussain8 min read

Short answer

  • In Cloudflare, set every CNAME record MailPoet gave you to DNS only (grey cloud), enter each host once without your domain repeated, and paste TXT values without quotes.
  • Then run dig against 1.1.1.1 to confirm public DNS returns exactly what MailPoet expects, and only then click reauthenticate.

You added the host and value strings in Cloudflare, but MailPoet still says "No records found. Please add this to your DNS settings." and shows this:

Error authenticating your sender domain. We detected different records from your domain. Please fix them by following the error messages below and reauthenticate your domain.

The error means MailPoet's servers queried public DNS for each record name and got an empty answer or a different value. The Cloudflare dashboard only shows what you saved, not what the world sees. So the useful question is what public DNS returns for that exact name.

Why it happens

I can't see MailPoet's side, so these are the causes ordered by how often they come up with Cloudflare. The thread this error comes from, on Cloudflare's community forum, closed without a visible answer, so treat the ranking as experience, not data.

  1. A proxied CNAME. With the orange cloud on, DNS lookups return Cloudflare's IP addresses instead of the CNAME target. Microsoft's DKIM documentation describes the effect: lookups return Cloudflare's IP addresses instead of the CNAME target, and DKIM verification fails. The same applies to any CNAME-based authentication record.
  2. The domain doubled in the host. Cloudflare adds your zone to the name for you. Microsoft's provider table lists Cloudflare as one that auto-appends the zone and needs no trailing dot. Pasting a full host can produce ...example.com.example.com in some cases.
  3. A mangled value. Quotes, trailing spaces, curly characters or a truncated string.
  4. A conflicting or duplicate record. A second SPF record, or an older record sitting at the same name as a CNAME.
  5. Wrong zone. The domain's nameservers at the registrar are not Cloudflare's, so nothing you add there is public.
  6. Timing. A resolver cached the empty answer before you added the record.

Check what DNS actually returns

Run these from any terminal. Replace the host with the exact one MailPoet shows, and keep your domain on the end. I'm not listing MailPoet's values because they are specific to your account.

# CNAME record
dig +short CNAME {host-from-mailpoet}.example.com @1.1.1.1

# TXT record
dig +short TXT {host-from-mailpoet}.example.com @1.1.1.1

Empty output means nothing is published at that name. Output that differs from MailPoet's value means a typo or the wrong record type. If you have no terminal, any web DNS lookup tool does the same job.

Symptom from digLikely causeFix
Empty for a CNAME, record visible in CloudflareProxy on, or doubled domainSet DNS only; fix the name
Returns IP addresses instead of a targetProxy onSet DNS only
Empty for the TXT recordWrong name or wrong zoneFix name; check nameservers
Value has quote marks or extra textPasted quotes or spacesRe-enter the raw value
Two v=spf1 linesDuplicate SPFMerge into one record
Correct output, MailPoet still failsCache or timingWait, retry, contact support

Step-by-step fixes

Fix 1: turn off the proxy on CNAME records

  1. In Cloudflare, select your domain and open DNS > Records.
  2. Find each CNAME record MailPoet asked for.
  3. Click Edit, set Proxy status to DNS only (grey cloud), and click Save.
  4. Rerun the dig +short CNAME query. You should now see MailPoet's target, not IP addresses.

TXT records can't be proxied, so this only concerns CNAMEs. Google's help page for adding records in Cloudflare gives the same instruction for its own CNAMEs: Set Proxy status to DNS only. See Google's Cloudflare domain verification page and Microsoft's DKIM setup page for how each vendor words it.

Check CNAME flattening too

If your DKIM records are CNAMEs and Cloudflare flattens them, lookups may not return the CNAME target. If DNS only did not fix it, look for a CNAME flattening setting in your zone's DNS settings and test with dig again.

Fix 2: enter the host exactly once

Cloudflare shows names relative to your zone. For a record under example.com, either of these in the Name field is normally fine:

mailpoet1._domainkey
mailpoet1._domainkey.example.com

If the name column in the record list shows your domain twice, edit the record and remove the repeat. If MailPoet is authenticating a subdomain such as mail.example.com, the host must include that mail part, for example mailpoet1._domainkey.mail. Records for the root domain won't satisfy a lookup for the subdomain.

If the full host fails, try the shortened one, and the reverse. Some DNS hosts handle the suffix differently, and the dig result tells you which form worked.

Fix 3: clean the value

  1. Copy the value from MailPoet into a plain-text editor.
  2. Remove quotes, trailing spaces and line breaks.
  3. Paste it into Cloudflare's Content field. Cloudflare handles TXT quoting itself, so literal quote marks can end up inside the record.
  4. For a CNAME target, check that nothing was cut off and that no stray . was added.
  5. Compare the dig output to MailPoet's value character by character.

Copy, do not retype

Long DKIM strings are easy to truncate when selecting by mouse. Use the copy button if MailPoet offers one, or select the whole field with the keyboard.

Fix 4: one SPF record only

A domain should publish a single v=spf1 TXT record. If you already send through Google Workspace or another service, merge everything into one record:

v=spf1 include:_spf.google.com include:{include-from-mailpoet} ~all

Our SPF generator builds a merged record, and the SPF lookup count calculator checks the 10-lookup limit. Also remember that a CNAME can't share a name with another record, so delete a stale record at that host before adding the CNAME.

Fix 5: confirm Cloudflare is authoritative

dig +short NS example.com

The answer should list the two Cloudflare nameservers shown on your domain overview in Cloudflare. If it lists your registrar's or another host's nameservers, either add the records there or finish the nameserver change at the registrar first.

Fix 6: wait, then reauthenticate

Once dig returns exactly what MailPoet expects, wait a few minutes and click reauthenticate. A resolver may have cached an empty answer. Avoid editing records repeatedly while waiting; every edit risks a new typo. I'd also skip deleting and recreating records unless dig shows something wrong.

Checklist before you try again

  • Every CNAME is DNS only (grey cloud).
  • Each host appears once, with your domain not doubled.
  • The subdomain part is present if you authenticate a subdomain.
  • TXT values have no quotes, spaces or line breaks.
  • Only one v=spf1 record exists.
  • dig +short NS shows Cloudflare's nameservers.
  • dig against @1.1.1.1 matches MailPoet's expected values.

If nothing works

If dig shows the right values and MailPoet still disagrees, contact MailPoet support. Send your domain, a screenshot of the per-record messages under the main error, the dig output with a timestamp, and a list of what you've already tried. If the nameserver check is the problem, your registrar or Cloudflare support is the right contact.

Subject: Sender domain authentication fails although DNS records resolve

Hello,

Authenticating example.com in MailPoet returns: "Error authenticating your sender domain. We detected different records from your domain."

Under it, MailPoet reports "No records found. Please add this to your DNS settings." for: {list the record names}.

DNS is hosted at Cloudflare. All CNAMEs are set to DNS only. Output of dig +short against @1.1.1.1 at {date and time, timezone}:
{paste dig output}

The output matches the values shown in MailPoet. Could you check what your lookup returns for these names?

Thank you

Where Mailneo fits

Mailneo can't authenticate your domain inside MailPoet and can't edit your DNS; you change records in Cloudflare yourself. For mailboxes you connect to Mailneo, it looks up the sending domain's SPF, DKIM and DMARC records, checks whether they authorize your provider, and tells you what to fix. That can catch problems like a missing or conflicting SPF record. For background, see how to set up SPF, DKIM and DMARC and the glossary entry on DNS records.

Common questions

Why does Cloudflare show the record but MailPoet says none found?

The dashboard shows what you saved. MailPoet checks public DNS, which can differ because of a proxied CNAME, a wrong name, or non-Cloudflare nameservers. Run dig to see what the public sees.

Do TXT records need the grey cloud?

No. TXT records aren't proxied in Cloudflare, so only CNAMEs have the toggle.

How long should I wait after adding records?

Often only minutes, but a resolver can cache an empty answer for a while. If dig against @1.1.1.1 is already correct, retry after a short wait before changing anything.

Should I add a DMARC record too?

Yes, once authentication passes. The DMARC generator builds one; start with a monitoring policy if you have never published DMARC.

deliverabilitymailpoetcloudflareerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

Deliverability

554 5.7.5 Permanent error evaluating DMARC policy: fixes

The bounce 554 5.7.5 Permanent error evaluating DMARC policy means the receiving server could not process your domain's DMARC record. Usual causes are a malformed or duplicate record, a DNS lookup failure, or a broken SPF record. Check your records with dig, fix them, and contact the recipient's admin if only one provider bounces.

Sohail Hussain|11 min read
Deliverability

Cloudflare CNAME "authentication error" in SendLayer: use DNS only

When SendLayer or another email provider reports an "authentication error" on CNAME records you added in Cloudflare, the records are almost always proxied. Set Proxy status to DNS only (grey cloud) on every DKIM and return-path CNAME, wait a few minutes, then verify again.

Sohail Hussain|9 min read
Deliverability

DMARC Policy Not Enabled: Is p=none a Problem, and What to Do

"DMARC Policy Not Enabled" means your record says `p=none`, so receivers report on failing mail but don't act on it. The record is valid and the right starting point. Add an `rua` address, read the reports, align every sender, then move to quarantine and reject. Don't jump straight to reject.

Sohail Hussain|11 min read
Deliverability

Flodesk "Domain authentication unsuccessful" on Cloudflare: fix

Flodesk's "Domain authentication through Flodesk unsuccessful" on Cloudflare usually means Flodesk can't read your records as published. Set every Flodesk CNAME to DNS only (gray cloud), remove the doubled domain from host names, keep one SPF record, then confirm with dig before retrying the check.

Sohail Hussain|8 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free