[Samba] Demoted/removed a DC, and the NS records?

L.P.H. van Belle belle at bazuin.nl
Fri Feb 15 15:59:32 UTC 2019


See, https://wiki.debian.org/Bind9 

The Jessie part. ( and ignore the chroot part ) 
So just created what in that link en then what i suggested and your done.

.. Almost, also run : 
systemctl reenable bind9 

;-) 

I've just disable the reload, in my opionion its not needed to restart bind9. 
It is needed when bind is using flatfiles, but here we use database. 
No reload, its updated instant. 

My setup is using this almost a year, without any problems. 

ls -al /etc/systemd/system/bind9.service.d/
total 12
drwxr-xr-x  2 root root 4096 Mar 13  2018 .
drwxr-xr-x 11 root root 4096 Jul 24  2018 ..
-rw-r--r--  1 root root   22 Mar 13  2018 override.conf

Really, all you need is : 

[Service]
ExecReload= 


Have a nice weekend guys. 

Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Rowland Penny via samba
> Verzonden: vrijdag 15 februari 2019 16:31
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Demoted/removed a DC, and the NS records?
> 
> On Fri, 15 Feb 2019 16:11:58 +0100
> Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> 
> > Mandi! Rowland Penny via samba
> >   In chel di` si favelave...
> > 
> > > This is a known problem, you cannot 'reload' Bind9 on a Samba DC,
> > > you have to restart it.
> > 
> > Ah. 'known' not to me... ;-)
> > 
> > 
> > > Check the Bind conf files (including logrotate) for 'reload' and
> > > replace with 'restart'
> > 
> >  root at vdcsv1:~# find /etc -name bind9 | grep reload
> >  root at vdcsv1:~# 
> > 
> > And there's no logrotate conf snippet for bind. In various
> > files/scripts:
> > 
> >  root at vdcsv1:~# find /etc -name bind9 
> >  /etc/init.d/bind9
> >  /etc/ppp/ip-up.d/bind9
> >  /etc/ppp/ip-down.d/bind9
> >  /etc/default/bind9
> >  /etc/network/if-down.d/bind9
> >  /etc/network/if-up.d/bind9
> >  /etc/ufw/applications.d/bind9
> > 
> > (the interface scripts) a:
> > 
> > 	rndc reconfig
> > 
> > get done. But i don't play with interfaces in a DC, normally... ;-)
> > 
> 
> Try looking in /etc/init.d/bind9
> 
> Rowland
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 




More information about the samba mailing list