Hi, I removed a couple of dead DC's from my domain using this command: samba-tool domain demote --remove-other-dead-server=<dc name> I then restarted named on the remaining server, but it failed to start with the following errors in messages: named[30255]: samba_dlz: configured writeable zone 'x.x.x.in-addr.arpa' named[30255]: samba_dlz: configured writeable zone 'x.x.x.in-addr.arpa' named[30255]: zone mydomain.com/NONE: has no NS records named[30255]: samba_dlz: Failed to configure zone 'mydomain.com' named[30255]: loading configuration: bad zone named[30255]: exiting (due to fatal error) named[30255]: samba_dlz: shutting down samba-tool fsmo show lists all service as being owned by the remaining server. What should I do next ?
On Mon, 26 Sep 2016 22:44:36 +0100 "Maton, Brett via samba" <samba at lists.samba.org> wrote:> Hi, > > I removed a couple of dead DC's from my domain using this command: > > samba-tool domain demote --remove-other-dead-server=<dc name> > > > I then restarted named on the remaining server, but it failed to > start with the following errors in messages: > > named[30255]: samba_dlz: configured writeable zone > 'x.x.x.in-addr.arpa' named[30255]: samba_dlz: configured writeable > zone 'x.x.x.in-addr.arpa' named[30255]: zone mydomain.com/NONE: has > no NS records named[30255]: samba_dlz: Failed to configure zone > 'mydomain.com' named[30255]: loading configuration: bad zone > named[30255]: exiting (due to fatal error) > named[30255]: samba_dlz: shutting down > > samba-tool fsmo show lists all service as being owned by the remaining > server. > > What should I do next ?It looks like you haven't got a forward zone, but I cannot see removing dead DCs will cause this. What version of Samba are you using ? What OS ? Have you checked if the records are still in AD ? Rowland
Hi Rowland thanks for your response. I'm running samba 4.5.0rc1 on CentOS 7.2 I've dumped the DNS records, and it doesn't appear to have any SRV or NS records. Also the SOA record is pointing at the wrong server dc03 instead of dc01. I'm pretty sure it can be fixed, but I don't know how or what to do On 27 September 2016 at 07:59, Rowland Penny via samba < samba at lists.samba.org> wrote:> On Mon, 26 Sep 2016 22:44:36 +0100 > "Maton, Brett via samba" <samba at lists.samba.org> wrote: > > > Hi, > > > > I removed a couple of dead DC's from my domain using this command: > > > > samba-tool domain demote --remove-other-dead-server=<dc name> > > > > > > I then restarted named on the remaining server, but it failed to > > start with the following errors in messages: > > > > named[30255]: samba_dlz: configured writeable zone > > 'x.x.x.in-addr.arpa' named[30255]: samba_dlz: configured writeable > > zone 'x.x.x.in-addr.arpa' named[30255]: zone mydomain.com/NONE: has > > no NS records named[30255]: samba_dlz: Failed to configure zone > > 'mydomain.com' named[30255]: loading configuration: bad zone > > named[30255]: exiting (due to fatal error) > > named[30255]: samba_dlz: shutting down > > > > samba-tool fsmo show lists all service as being owned by the remaining > > server. > > > > What should I do next ? > > It looks like you haven't got a forward zone, but I cannot see removing > dead DCs will cause this. > > What version of Samba are you using ? > What OS ? > > Have you checked if the records are still in AD ? > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba