Folks 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 Alan This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender immediately and then delete the email from your system. Internet communications are not secure and therefore e2E Services Ltd does not accept any liability for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of e2E Services Ltd. Although this email and any attachments have been scanned for viruses, the success of scanning products is not guaranteed. The recipient(s) should therefore carry out any checks that they believe to be appropriate in this respect. e2E Services Ltd. is a limited company registered in the UK, No. 3878701. Registered Office: e2E Services Ltd, George Court, Bartholomews Walk, Ely, Cambridgeshire, CB7 4JW
On 11/12/15 13:00, Alan Hughes wrote:> Folks > > > 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 > > > Alan > > >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' Rowland
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). Alan -----Original message----- 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:> Folks > > > 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 > > > Alan > > >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' Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Its should not be needed to drop and recreate. Try the following. Delete the created records in the "wrong" zone(s) Try to delete the "wrong" zone. ( ignore the error) Restart bind Restart samba. Pray and check again. Are the "empty zones gone and are your dns records there again? Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Alan Hughes > Verzonden: vrijdag 11 december 2015 14:00 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Samba-4 DNS issue > > Folks > > > 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 > > > Alan > > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to which they are > addressed. If you have received this email in error please notify the > sender immediately and then delete the email from your system. > > Internet communications are not secure and therefore e2E Services Ltd does > not accept any liability for the contents of this message. Any views or > opinions presented are solely those of the author and do not necessarily > represent those of e2E Services Ltd. > > Although this email and any attachments have been scanned for viruses, the > success of scanning products is not guaranteed. The recipient(s) should > therefore carry out any checks that they believe to be appropriate in this > respect. > > e2E Services Ltd. is a limited company registered in the UK, No. 3878701. > Registered Office: e2E Services Ltd, George Court, Bartholomews Walk, > Ely, Cambridgeshire, CB7 4JW > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
OK, not certain what has happened by the additional entries seem to have disappeared now. Alan -----Original message----- From:L.P.H. van Belle <belle at bazuin.nl> Sent:Fri 11-12-2015 14:07 Subject:Re: [Samba] Samba-4 DNS issue To:samba at lists.samba.org; Its should not be needed to drop and recreate. Try the following. Delete the created records in the "wrong" zone(s) Try to delete the "wrong" zone. ( ignore the error) Restart bind Restart samba. Pray and check again. Are the "empty zones gone and are your dns records there again? Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Alan Hughes > Verzonden: vrijdag 11 december 2015 14:00 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Samba-4 DNS issue > > Folks > > > 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 > > > Alan > > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to which they are > addressed. If you have received this email in error please notify the > sender immediately and then delete the email from your system. > > Internet communications are not secure and therefore e2E Services Ltd does > not accept any liability for the contents of this message. Any views or > opinions presented are solely those of the author and do not necessarily > represent those of e2E Services Ltd. > > Although this email and any attachments have been scanned for viruses, the > success of scanning products is not guaranteed. The recipient(s) should > therefore carry out any checks that they believe to be appropriate in this > respect. > > e2E Services Ltd. is a limited company registered in the UK, No. 3878701. > Registered Office: e2E Services Ltd, George Court, Bartholomews Walk, > Ely, Cambridgeshire, CB7 4JW > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender immediately and then delete the email from your system. Internet communications are not secure and therefore e2E Services Ltd does not accept any liability for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of e2E Services Ltd. Although this email and any attachments have been scanned for viruses, the success of scanning products is not guaranteed. The recipient(s) should therefore carry out any checks that they believe to be appropriate in this respect. e2E Services Ltd. is a limited company registered in the UK, No. 3878701. Registered Office: e2E Services Ltd, George Court, Bartholomews Walk, Ely, Cambridgeshire, CB7 4JW
Hai, I dont know also.. but this worked for me when i had this problem :-) Ow and i forgot to mention, restart bind and samba on all your DC’s Greetz, Louis Van: Alan Hughes [mailto:alanhughes at e2eservices.co.uk] Verzonden: vrijdag 11 december 2015 15:55 Aan: samba at lists.samba.org; L.P.H. van Belle Onderwerp: RE: [Samba] Samba-4 DNS issue OK, not certain what has happened by the additional entries seem to have disappeared now. Alan -----Original message----- From: L.P.H. van Belle <belle at bazuin.nl> Sent: Fri 11-12-2015 14:07 Subject: Re: [Samba] Samba-4 DNS issue To: samba at lists.samba.org; Its should not be needed to drop and recreate. Try the following. Delete the created records in the "wrong" zone(s) Try to delete the "wrong" zone. ( ignore the error) Restart bind Restart samba. Pray and check again. Are the "empty zones gone and are your dns records there again? Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Alan Hughes > Verzonden: vrijdag 11 december 2015 14:00 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Samba-4 DNS issue > > Folks > > > 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 > > > Alan > > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to which they are > addressed. If you have received this email in error please notify the > sender immediately and then delete the email from your system. > > Internet communications are not secure and therefore e2E Services Ltd does > not accept any liability for the contents of this message. Any views or > opinions presented are solely those of the author and do not necessarily > represent those of e2E Services Ltd. > > Although this email and any attachments have been scanned for viruses, the > success of scanning products is not guaranteed. The recipient(s) should > therefore carry out any checks that they believe to be appropriate in this > respect. > > e2E Services Ltd. is a limited company registered in the UK, No. 3878701. > Registered Office: e2E Services Ltd, George Court, Bartholomews Walk, > Ely, Cambridgeshire, CB7 4JW > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender immediately and then delete the email from your system. Internet communications are not secure and therefore e2E Services Ltd does not accept any liability for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of e2E Services Ltd. Although this email and any attachments have been scanned for viruses, the success of scanning products is not guaranteed. The recipient(s) should therefore carry out any checks that they believe to be appropriate in this respect. e2E Services Ltd. is a limited company re gistered in the UK, No. 3878701. Registered Office: e2E Services Ltd, George Court, Bartholomews Walk, Ely, Cambridgeshire, CB7 4JW