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.
jimr1
November 27, 2023, 3:34pm
2
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.
opened 05:18PM - 27 Nov 23 UTC
| 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 |
I don't know if this is classed as a bug or a feature request:
## 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 records for **wordpress.example.com** into the parent's zone file.
## What I have tried
### Enable/Disable `DNS domain` in `Edit Virtual Server`

- `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 records would be added in the parent server's zone file, they were not and stayed in their own file in `/var/lib/bind`.
### Move the virtual server
I thought that moving the virtual server would allow the use of the `Add sub-domain DNS records to parent domain` option when the enable/disable above did not work.
- I moved the wordpress sub-server and it made no difference. The DNS Zone had its own file in `/var/lib/bind`
- I moved the themes sub-server (which had its DNS records in it's parent DNS zone file) and it's DNS records were hived off into a separate file.
## I have not tried
I am not really sure what this is.
Webmin --> Servers --> BIND DNS Server --> Convert to Slave Zone
## Conclusion
You can only ever add a sub-servers DNS records to the parents records file at the point of creation.
jimr1
November 27, 2023, 6:51pm
4
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
system
Closed
December 30, 2023, 12:26pm
6
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.