Connect to Cloudflare DNS failed

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.2
Webmin version 2.303
Virtualmin version 7.30.8 Pro
Token name Permissions Resources Status
Virtualmin-DNS Zone.DNS, Zone.DNS 1 Zone Active

CURL command in a terminal shell to test is pass.
But it failed after input the cloudflare account & API token: Failed to save cloud DNS provider : Missing or invalid-looking hexidecimal API key

1 Like

I test and worked, all I needed to do was add token, no cloundflare account details needed.

1 Like

I use the API as you mentioned, it can be saved and passed.
But after that i choose it from the Virtual Server, it appear another Error:

Failed to save DNS options : Failed to update DNS host : Failed to setup new DNS zone : Adding new DNS zone hosted by Cloudflare DNS .. .. failed : No account found

I had a play, got it working with theses settings.

As my Cloudflare more than 1 domain, it is required only specific zone can be edit. So I created this Token and tried again, now the virtualmin return another error: Failed to save DNS options : DNS zone not found!

only difference I can see , you have it set to 1 zone, not all zones.

If I edit I see this

as other domains in my cloudflare account cannot be opened for editing in this server. I must specific the zone. So do you mean virtualmin cannot process my case at this moment?

Virtualmin will only manage domain’s that are on virtualmin as far as I see it.