Submitted by imcdona on Tue, 12/12/2017 - 11:40
Steps to reproduce: 1. Create a server template with "yes" selected for "Add sub-domain DNS records to parent domain?" in the "Bind DNS Domain" section of the template 2.. Create a new virtual server with domain name example.com 3. Create a sub-server named test.example.com under the example.com domain using the template created in step 1 4. Note that a new zone file is created for the sub-domain even though the subdomain was added to the same admin account as the parent domain.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Wed, 12/13/2017 - 00:32 Comment #1
Ok, this is a but that was introduced when adding support for DNS sub-domains other than the parent domain. We will fix it in the next release, or you can apply this patch : https://github.com/virtualmin/virtualmin-gpl/commit/1ae99e059d13eafeebb0...
Submitted by JamieCameron on Wed, 12/13/2017 - 00:32 Comment #2
Submitted by imcdona on Wed, 12/13/2017 - 09:19 Comment #3
I created a sub-domain after applying the patch and Virtualmin is still creating a separate zone file for the sub-domain.
Submitted by JamieCameron on Wed, 12/13/2017 - 18:25 Comment #4
Make sure you run
/etc/webmin/restart
asroot
after applying the patch.Submitted by imcdona on Thu, 12/14/2017 - 10:49 Comment #5
Reloading Webmin did the trick. The feature works as expected. Thanks!
Submitted by JamieCameron on Fri, 12/15/2017 - 00:21 Comment #6
Great!
Submitted by IssueBot on Thu, 10/11/2018 - 20:07 Comment #7
Automatically closed - issue fixed for 2 weeks with no activity.