Web lists-archives.com

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




Hai Marco, 

To prevent this run : systemctl edit bind9 
Add: 

[Service]
ExecReload=

Save. 

systemctl daemon-reload

That should fix it., as in, this works for me. 

Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Marco Gaiarin via samba
> Verzonden: vrijdag 15 februari 2019 12:34
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] Demoted/removed a DC, and the NS records?
> 
> 
> > Following:
> > 	https://wiki.samba.org/index.php/Demoting_a_Samba_AD_DC
> > i've demoted and removed a DC.
> 
> A note. The demotion caused a reconfiguration of bind in every DCs.
> logs are:
> 
>  Feb 15 11:44:34 vdcpp2 named[1036]: received control channel 
> command 'reload'
>  Feb 15 11:44:34 vdcpp2 named[1036]: reading built-in trusted 
> keys from file '/etc/bind/bind.keys'
>  Feb 15 11:44:34 vdcpp2 named[1036]: using default UDP/IPv4 
> port range: [1024, 65535]
>  Feb 15 11:44:34 vdcpp2 named[1036]: using default UDP/IPv6 
> port range: [1024, 65535]
>  Feb 15 11:44:35 vdcpp2 named[1036]: sizing zone task pool 
> based on 5 zones
>  Feb 15 11:44:35 vdcpp2 named[1036]: Loading 'AD DNS Zone' 
> using driver dlopen
>  Feb 15 11:44:35 vdcpp2 named[1036]: samba_dlz: starting configure
>  Feb 15 11:44:35 vdcpp2 named[1036]: samba_dlz: Ignoring 
> duplicate zone 'ad.fvg.lnf.it' from 
> 'DC=@,DC=ad.fvg.lnf.it,CN=MicrosoftDNS,DC=DomainDnsZones,DC=ad
> ,DC=fvg,DC=lnf,DC=it'
>  Feb 15 11:44:35 vdcpp2 named[1036]: samba_dlz: Ignoring 
> duplicate zone '_msdcs.ad.fvg.lnf.it' from 
> 'DC=@,DC=_msdcs.ad.fvg.lnf.it,CN=MicrosoftDNS,DC=ForestDnsZone
> s,DC=ad,DC=fvg,DC=lnf,DC=it'
>  Feb 15 11:44:35 vdcpp2 named[1036]: zone ad.fvg.lnf.it/NONE: 
> (other) removed
>  Feb 15 11:44:35 vdcpp2 named[1036]: zone 
> _msdcs.ad.fvg.lnf.it/NONE: (other) removed
>  Feb 15 11:44:35 vdcpp2 named[1036]: reloading configuration succeeded
>  Feb 15 11:44:36 vdcpp2 named[1036]: samba_dlz: shutting down
>  Feb 15 11:44:36 vdcpp2 named[1036]: reloading zones succeeded
>  Feb 15 11:44:36 vdcpp2 named[1036]: all zones loaded
>  Feb 15 11:44:36 vdcpp2 named[1036]: running
> 
> note the 'samba_dlz: shutting down'.
> 
> DNS seems to work (eg, resolve), but i was forced to restart 
> *every* bind in every
> DC to have again 'samba_dlz' activities in DNS (eg, client dns
> registration).
> 
> 
> Again, FYI.
> 
> -- 
> dott. Marco Gaiarin				        GNUPG 
> Key ID: 240A3D66
>   Associazione ``La Nostra Famiglia''          
> http://www.lanostrafamiglia.it/
>   Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al 
> Tagliamento (PN)
>   marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   
> f +39-0434-842797
> 
> 		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
>       http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
> 	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
> 
> -- 
> 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