Move Sub-Server DNS Zones to the Parent

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.3
Webmin version 2.105
Usermin version 2.005
Virtualmin version 7.8.2
Theme version 21.09.5
Package updates 37 package updates are available, of which 5 are security updates

The Setup

I have a parent domain called quantumwarp.com and it has some sub-servers with the domains wordpress.quantumwarp.com and themes.quantumwarp.com.

The parent domain does have DNSSEC enabled.

I am not sure which one, or if both were top-level servers which i then converted/moved to quantumwarp.com as sub-servers.

  • themes.quantumwarp.com
    • has it’s DNS records in the parents DNS zone
    • does NOT have a DNS Options Menu.
    • does have a DNS Records menu
  • wordpress.example.com
    • does NOT have has it’s DNS records in the parents DNS zone
    • it has a DNS Options Menu.
    • it has a DNS Records menu

The Issue

I want to move my DNS zone for wordpress.example.com into the parent’s zone.

What I have tried

  • Default Server template → DNS Options → Add sub-domain DNS records to parent domain: Yes
  • Settings For Sub-Servers template → DNS Options → Add sub-domain DNS records to parent domain: Yes
  • Then i went to wordpress.quantumwarp.com → Edit Virtual Server
  • Disabled ‘DNS domain enabled’
  • saved
  • straight way I went back and re-enabled the DNS.

Now I assumed the DNS zone would be created in the parent server as specified in the server template.

I have not tried

I am not really sure what this is.
Webmin → Servers → BIND DNS Server → Convert to Slave Zone

Is this a bug or have I missed some thing?

Any help would be appreciated.

Well I would forget playing with templates ! However I would guess dns records will be added per zone so a.b.com records will appear in b.com’s zone as c.com bears no resemblance to b.com it is more logical to give it it’s own zone even if it is owned by the same unix user

I have added an issue onto GitHub as there is no way after creating a sub-server to move a sub-servers DNS records into the parent’s zone file.

This also assumes that you are using webmin bind as a nameserver for the domain … what happens if you are using off site dns ? Whatever you do will have no effect. That said if you are using off site dns you should disable bind, which in turn gives you ‘suggested’ dns records to which you can copy and paste to your dns suppliers interface which currently is shown per domain and not in it’s parents dns settings. Please take on board that even though they are administered by the same user they may have totally different dns requirements. I have a client that has 2 domains one’s domains (we will call this parent) dns is maintained be webmin the other by it’s registrar how do you work around this ? Your idea just makes things more complex than it needs to be

This has now been fixed in 7.9.0

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.