Cloudflare DNS walkthrough
Import all records at once
On your domain page, choose Quick setup with Cloudflare, then Download DNS records. Open your existing Cloudflare zone and use DNS → Records → Import → Import DNS records to select the file, then choose Upload. Hedvi includes absolute record names and marks DKIM as DNS only. Keep existing records and resolve any conflicts before continuing. Return to Hedvi and choose Check now. For a new claim, import its ownership record first; the next check generates the remaining records for a second import.
Use this guide when Cloudflare hosts your domain's authoritative DNS. You can keep your website and existing mail provider.
- In Hedvi, open Domains → Add domain. Enter only the domain name, without
https://or a path. A dedicated subdomain can separate application mail from your main domain. - Choose the MAIL FROM subdomain (default
send) and add the domain. Leave this page open. - In Cloudflare, open the parent domain, then DNS → Records → Add record.
- Add the ownership TXT record at
_hedvi-verification.yourdomainusing the exact current value shown in Hedvi. Keep it published; if you remove and add the domain again, replace it with the new claim value. - Return to Hedvi and choose Check now to prove ownership. Hedvi creates the sending records after the ownership check, using the terms your organization owner or admin already accepted. No separate application is needed. New ownership claims expire after 72 hours, so create a fresh claim if needed.
- Add each of the three DKIM CNAME rows now shown in Hedvi. Copy the Name and Target exactly. Set the proxy to DNS only (grey cloud).
- Add the MAIL FROM MX record with the priority shown in Hedvi, and its TXT SPF record. These belong on the MAIL FROM subdomain, not at
@. - Keep existing root MX, SPF and DMARC records. If the sending domain has no DMARC record, review Hedvi's suggested monitoring policy before adding it.
- Return to Hedvi and choose Check now. Inspect each row and wait for Verified. Sending activates automatically after the final provider check. DNS propagation can take time.
Keep your Microsoft 365, Google Workspace and other mailbox records. The MAIL FROM host, usually send.yourdomain, needs a dedicated name. If that host already receives mail, has a different SPF policy or points to another service, use Change MAIL FROM subdomain on the domain page. Hedvi keeps the domain and its API keys. Publish the new records and check the domain again. Confirm the chosen host is unused in Cloudflare before importing, since public DNS can be cached.
Understand the Name field
Cloudflare adds the zone's name automatically. If the full record is token._domainkey.mail.example.com in the example.com zone, the relative name is token._domainkey.mail. The copy button copies the full name. For _hedvi-verification.mail.example.com in the example.com zone, a provider requiring a relative name needs _hedvi-verification.mail, not just _hedvi-verification. Hedvi also shows a host relative to the sending domain, which may differ from your DNS zone. Do not accidentally create …example.com.example.com.
When verification stays pending
- Check that you edited the authoritative zone shown by the domain's nameservers.
- Turn off proxying for DKIM CNAME records.
- Compare the full name, target, MX priority and TXT text with Hedvi's values.
- Do not publish two SPF records on the same host.
- Use the Found instead detail to find a conflicting record. After a correction, choose Check now again.
For another DNS provider, use the same types and values from Hedvi. Follow that provider's convention for relative names and trailing dots.