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 Hussain8 min readShort answer
- In Cloudflare, set every CNAME record Flodesk asked for to DNS only (gray cloud), then run Flodesk's check again after a few minutes.
- If it still fails, look for a host name with your domain doubled, a second SPF record, or a record that does not match Flodesk's value exactly. Use dig to see what public DNS returns.
You added the records in Cloudflare exactly as Flodesk showed them, and Flodesk still says "Domain authentication through Flodesk unsuccessful". Support told you the setup looks right and suggested asking Cloudflare. People on Cloudflare's community forum describe the same loop. Each side sees only its own half: Cloudflare shows what you typed, and Flodesk sees what public DNS returns. This article closes that gap.
Why it happens
Flodesk's check queries public DNS for the records it gave you and compares the answers with what it expects. "Unsuccessful" means at least one lookup returned nothing or returned something different. I can't see your Flodesk account, so use its setup screen as the source for the exact record names and values.
The causes below are ordered by how often they bite on Cloudflare.
| Cause | What you see | Fix |
|---|---|---|
| Proxy on (orange cloud) on a CNAME | dig returns Cloudflare IPs, not Flodesk's target | Set the record to DNS only |
| Domain doubled in the host name | Record shows as name.example.com.example.com | Re-add with the short name |
| CNAME flattening | dig returns flattened data, not the CNAME | Turn flattening off for the zone or for that record |
| Two SPF records | Two TXT lines starting v=spf1 | Merge into one |
| Typo or stray characters | Value differs from Flodesk's by a character | Re-copy and re-save |
| Old record at the same name | Conflicting CNAME or TXT | Delete the stale record |
| Nameservers not Cloudflare's | dig NS shows another provider | Fix the nameservers at the registrar |
Check what public DNS returns first
Before changing anything, see what the world sees. Take each host name and value from Flodesk's setup screen and query it. Replace the placeholders with your own names.
dig +short CNAME {record-name-from-flodesk}.example.com
dig +short CNAME {record-name-from-flodesk}.example.com @1.1.1.1
dig +short TXT example.com
dig +short NS example.com
Compare the output with Flodesk's value character by character. An empty answer means the record is missing, misnamed or not yet visible. Two IP addresses where you expected a hostname point to the proxy. If the answer matches exactly and Flodesk still fails, go to the SPF and stale-check sections. MXToolbox's lookups show the same data in a browser if you prefer that.
Step-by-step fixes
Fix 1: turn off the Cloudflare proxy on CNAME records
Microsoft's DKIM documentation describes the effect: with the proxy enabled, DNS lookups return Cloudflare's IP addresses instead of the CNAME target, and DKIM verification fails. The same applies to any verification CNAME a sender asks you to publish. TXT and MX records can't be proxied, so only CNAMEs show the toggle.
- In Cloudflare, select your domain, then open DNS > Records.
- Find each CNAME record Flodesk asked for.
- In the Proxy status column, click the orange cloud so it turns gray and reads DNS only.
- Click Save.
- Run
dig +short CNAMEagain. You should now see Flodesk's target, not IP addresses. - Wait a few minutes, then rerun the check in Flodesk.
Recheck after later edits
The proxy toggle is easy to flip by accident when you edit DNS later. Look at the cloud icons on these records after any DNS change.
Fix 2: remove the doubled domain from the host name
Cloudflare adds your zone name to whatever you type in Name. Microsoft's provider table notes that Cloudflare auto-appends the zone and needs no trailing dot. If you paste a full host name, you get something like this:
{record-name}._domainkey.example.com.example.com
- Open the record in DNS > Records.
- Check the full name in the list view. If
example.comappears twice, delete the record. - Add it again with only the part before your domain, for example
{record-name}._domainkey. - If you authenticate a subdomain such as
mail.example.com, the short name includes the subdomain, for example{record-name}._domainkey.mail. Confirm this against Flodesk's instructions for your setup.
Fix 3: turn off CNAME flattening if dig doesn't show a CNAME
Cloudflare can flatten CNAMEs, which replaces the CNAME answer with address data. For DKIM CNAMEs this breaks verification. Brevo's help center documents it for its own setup: if CNAME flattening is activated, Cloudflare converts the record to a TXT record and DKIM authentication will fail. I haven't seen Flodesk document this, so treat it as a suspect, not a confirmed cause. Flattening matters most for CNAMEs at the root of the domain. If dig shows something other than the exact CNAME target even with the proxy off, check the flattening setting in Cloudflare's DNS settings for the zone and read Cloudflare's own documentation on it.
Fix 4: merge duplicate SPF records
A domain may publish only one SPF record; two v=spf1 TXT records cause a permanent error under RFC 7208. This usually happens when a new sender gets its own line next to the one for Google Workspace or another provider. Only touch SPF if Flodesk's setup screen asks for it.
- Run
dig +short TXT example.comand count lines starting withv=spf1. - If there are two, combine them into one line, keeping every include you still need.
- Add the include value from Flodesk's setup screen. The Google include below is only an example of an existing sender.
v=spf1 include:_spf.google.com include:{include-from-flodesk} ~all
Stay under the 10-DNS-lookup limit when you stack includes. Our SPF generator and SPF lookup count calculator help here, and the SPF glossary entry explains the syntax.
Fix 5: the smaller things that still fail the check
- Stray characters in the pasted value, such as a trailing space or quotation marks.
- An old CNAME or TXT at the same name from a previous provider. A name can't hold a CNAME next to other record types, so delete the old one.
- Nameservers at your registrar that aren't Cloudflare's. In that case Cloudflare's records are never consulted;
dig +short NS example.comshows who answers. - Authenticating
example.comin Flodesk while sending frommail.example.com, or the reverse. - Propagation. Cloudflare changes usually appear within minutes. If the records are brand new, wait before clicking verify repeatedly. Other senders' help centers quote waits of up to 48 hours for slower cases.
Don't delete records to retry
Removing a working DKIM or SPF record while you experiment can make real mail fail authentication. Change one record at a time and note what it looked like before.
Checklist before you try again
- Every Flodesk CNAME is DNS only (gray cloud).
- Names contain no doubled
example.com. digreturns Flodesk's exact value for each record.- Only one
v=spf1TXT record exists on the domain. - No old record from another provider sits at the same name.
- Your registrar's nameservers are Cloudflare's.
- The domain in Flodesk matches the domain you send from.
If nothing works
If dig returns exactly Flodesk's values, the proxy is off, there is one SPF record and the nameservers are right, contact Flodesk support again, this time with evidence. Include the dig output with timestamps, a screenshot of the Cloudflare DNS > Records list, and the exact error text. That moves the conversation past "setup looks right, ask Cloudflare".
Subject: Domain authentication unsuccessful although DNS returns the expected records
Hi Flodesk team,
Domain: example.com
Error shown: "Domain authentication through Flodesk unsuccessful"
DNS provider: Cloudflare (all Flodesk CNAMEs set to DNS only)
Public DNS results at [date, time, timezone]:
[paste dig +short output for each record, queried at 1.1.1.1]
Single SPF record confirmed: yes
Attached: screenshot of the Cloudflare DNS records list.
Please tell me which lookup your check is failing on, and what value it received.
Common questions
Does the orange cloud ever belong on email records?
No for CNAMEs that email providers verify; a proxied record answers with Cloudflare's IPs instead of the provider's target. Keep the proxy for your website records.
How do I confirm authentication works after Flodesk accepts it?
Send a test message to a Gmail address, open it, and use Show original to read the SPF, DKIM and DMARC results. Our email header analyzer decodes pasted headers. If you have no DMARC record yet, the DMARC generator gives a starting point, and the SPF, DKIM and DMARC setup guide covers the full sequence.
Is this a Cloudflare problem or a Flodesk problem?
Usually neither product is broken. The record Cloudflare serves differs from what Flodesk's check expects, most often through the proxy, a doubled name or a duplicate SPF record.
Where Mailneo fits
This error is specific to Flodesk, and Mailneo can't fix it. If you send through Mailneo, it checks your connected sending domain's SPF, DKIM and DMARC records, including whether they authorize your provider, and tells you what to fix. You still make the DNS changes yourself at Cloudflare or your registrar. Details are in the email accounts documentation.
Explore: Email Deliverability
Related Articles
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.
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.
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.
Error 1014 (CNAME Cross-User Banned) with beehiiv: Fix
Error 1014 (CNAME Cross-User Banned) means a Cloudflare-proxied record points by CNAME at a hostname on a zone owned by a different Cloudflare account. For a beehiiv custom domain, set the record to DNS only (gray cloud), wait for DNS to refresh, then re-verify the domain in beehiiv.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free