Submitted by jimraynor on Wed, 04/20/2016 - 16:49
DNS records of foo.main-domain.com is added to main-domain.com zone, however,
DNS records of foo.add-on-domain.com is not added to add-on-domain.com zone. A new zone is created for the subdomain.
Status:
Active
Comments
Submitted by JamieCameron on Wed, 04/20/2016 - 22:05 Comment #1
Do all these domains have the same owner? Virtualmin will only add DNS records to a parent domain if it has the same owner as the sub-domain.
Submitted by jimraynor on Tue, 04/26/2016 - 06:17 Comment #2
@JamieCameron: yes. all domains are created under the same account.
The problem is the "parent domain" concept. Virtualmin does not consider add-on(secondary) domains as parents.
Submitted by JamieCameron on Tue, 04/26/2016 - 19:38 Comment #3
Oh, I see what you mean. This is intentional - because it would add a dependency between the two child domains, which would cause breakage if the top-level domain was deleted. This isn't a problem when the parent domain is also the top-level DNS domain, as deleting the parent implies removal of all children.