[Samba] Samba-4 DNS issue
alanhughes at e2eservices.co.uk
Fri Dec 11 13:31:34 UTC 2015
Thanks for the suggestion, however it is not a seperate zone, i.e. it appears to be a part of the "e2eservices.co.uk" zone with child objects (analogous to "_tcp" and "_udp" in a domain zone).
From:Rowland penny <rpenny at samba.org>
Sent:Fri 11-12-2015 13:16
Subject:Re: [Samba] Samba-4 DNS issue
To:samba at lists.samba.org;
On 11/12/15 13:00, Alan Hughes wrote:
> I've managed (due to me being fat-fingered that morning) to get a DNS zone in a Samba-4 DNS setup screwed up.
> Basically I was trying to add a new A record to an internal domain "e2eservices.co.uk" using the MS administration tools (not the samba-tool CLI). However instead of adding the entry "styx" to the domain, I accidently added "styx.e2eservices.co.uk"; this basically generated a child entry called "uk" under the "e2eservices.co.uk" zone that appears to replicate all entries that where originally in the zone (so for example I now have "styx.e2eservices.co.uk.e2eservices.co.uk", "foobar.e2eservices.co.uk.e2eservices.co.uk", etc.
> I'd rather lke to clean this up by deleting all of the records under "e2eservices.co.uk.e2eservices.co.uk"(including the child entries rooted at "uk.e2eservices.co.uk") without deleting any records under "e2eservices.co.uk" but cannot work out how to do this. I guess if absolutely necessary I could drop the domain and recreate it, but I'd prefer not to do this if at all possible. Does anyone have any suggestions on how I can go about doing this?
> Thanks in advance
You could try samba-tool on the DC, 'samba-tool dns zonelist 127.0.0.1
-UAdministrator' will list all the zones, so if it is a separate zone,
you should be able to delete it with 'samba-tool dns zonedelete
127.0.0.1 <zone> -UAdministrator'
To unsubscribe from this list go to the following URL and read the
More information about the samba