Submitted by george.asenov on Mon, 05/09/2016 - 08:55
Hello.
Here we have 2 issues related to sub-domains added as regular sub-servers when the first level domain is present on the same server. As you know virtualmin add all subdomains to the first level domain's zone. But it also add NS records for every subdomain which then brakes the subdomains and they did not resolve because of that. Also it adds additional SPF record but it shouldn't.
The second issue is: is you have test.domain.com and somethingtest.domain.com
note that the "test.domain.com" at the end is the same on the two domains.
and you try to delete "test.domain.com" it deletes also "somethingtest.domain.com"
Status:
Active
Comments
Submitted by JamieCameron on Wed, 05/11/2016 - 01:58 Comment #1
Can you post the DNS zone file here? NS records shouldn't be added for sub-domains inside an existing domain file.
Submitted by george.asenov on Wed, 05/11/2016 - 03:45 Comment #2
I already fix it so it is not possible. But the additional NS entries ware like: sub.domain.com NS name.server.com
Submitted by JamieCameron on Thu, 05/12/2016 - 01:01 Comment #3
And these we in the same zone file as the records for domain.com ?
Submitted by george.asenov on Thu, 05/12/2016 - 10:08 Comment #4
Yes they was in the same zone file as domain.com
Submitted by JamieCameron on Thu, 05/12/2016 - 23:45 Comment #5
Is this re-produceable for new domains? Because from looking at the current Virtualmin code, I can't see how an NS record could be added to a sub-domain.
Submitted by george.asenov on Fri, 05/13/2016 - 01:30 Comment #6
I will test this and see if i can reproduce it and write back with the results.