I recently installed Cloudflare as my Cloud DNS Provider and successfully moved all locally hosted records there, but once I try to create a new Virtual Server Virtualmin fails to create any DNS Records (either in Cloudflare either Locally Hosted) with the following error:
Adding new DNS zone hosted by Cloudflare DNS … … failed to generate records :
Or if it’s locally hosted:
Adding new DNS zone …
… failed to generate records :
Can you provide more details about this process? Are you trying to add a top-level virtual server or a sub-server virtual server?
Could you also provide a screenshot of the “System Settings ⇾ Server Templates / DNS for domain” page? I’d like to see what you have set for the “Create new DNS zones on” option in particular.
I’m asking because I tried to reproduce this issue, and it worked just fine for me.
I am trying to create a new top-level virtual server. You can see the settings below, this started after installing Cloudflare as a cloud Provider for DNS, I managed to transfer all the pre-existing servers but I cannot create new ones.
There could be a specific topic in the docs for using Cloudflare with Webmin/Virtualmin.
I have already tried to use it on a VPS and the main information I get is that there are a lot of redirects.
Try changing “Create new DNS zones on” option to “Cloudflare” on the “System Settings ⇾ Server Templates: DNS for domain” page and give it another shot.