virtualmin / virtualmin-gpl

Virtualmin web hosting control panel for Webmin
https://www.virtualmin.com
GNU General Public License v3.0
319 stars 99 forks source link

Cloudflare DNS: Create top-level subdomains without requiring the main domain #922

Open iliajie opened 2 days ago

iliajie commented 2 days ago

Hello Jamie!

I know we’ve discussed this before, but I want to document it for others.

Consider an admin managing 10 virtual machines, each using Cloudflare DNS. The main DNS zone for a domain (e.g., virtualmin.dev) is controlled by the main virtual machine. The other virtual machines also need to use Cloudflare DNS for the same virtualmin.dev domain, using subdomains like test1.virtualmin.dev, test2.virtualmin.dev, etc.

Currently, to make this work, I have to create virtualmin.dev on each of the other 9 virtual machines. This creates overhead and risks messing up the main DNS records, as Virtualmin flags and complains about mismatched IP addresses and suggests fixing them on each machine. This limitation is also frustrating.

Is there a way to allow the other virtual machines to use top-level subdomains without having to recreate the main virtualmin.dev DNS zone on each machine? Perhaps as an optional setting?

jcameron commented 2 days ago

I'll put this on my TODO list to look into .... maybe it will be possible to support, since I can see it being useful for customers with many boxes.

iliajie commented 2 days ago

I'll put this on my TODO list to look into .... maybe it will be possible to support, since I can see it being useful for customers with many boxes.

Excellent news! Thank you, Jamie!