[Samba] winbind seems to hang when the DC goes down instead of switching to the other available DC

L.P.H. van Belle belle at bazuin.nl
Fri Aug 2 12:08:45 UTC 2019


Hai Marco, 

Yes, best is to use the "localhost" dns setup as caching/forwarder only. 

All you need is for the forwarding is :  

zone "your.dnsdomain.tld" {
    type forward;
    forwarders { IP_DC1; IP_DC2; };
};

zone "168.192.in-addr.arpa" {
    type forward;
    forwarders { IP_DC1; IP_DC2; };
};


If you think its still to slow, remove 
> options attempts:2
Or set 
> options attempts:1



Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Marco Gaiarin via samba
> Verzonden: vrijdag 2 augustus 2019 12:38
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] winbind seems to hang when the DC goes 
> down instead of switching to the other available DC
> 
> Mandi! L.P.H. van Belle via samba
>   In chel di` si favelave...
> 
> > Verify if all DC's are also available as NS record in the 
> DNS on the zones. 
> > Startup the DNS tool. 
> > Goto you primary dnszone ( and repeat for all other zones ) 
> > Do you see all your DC's as NS record in the zone, then its 
> ok, if not.. 
> 
> Do you mean the 'domain' zone and the '_msdcs.' zone? Yes, both have
> all the DCs listed.
> 
> 
> > You can also try these settings in resolv.conf
> > options edns0
> > options timeout:1
> > options attempts:2
> 
> Added. I'll do some more tests when back from holyday.
> 
> Anyway, the first resolver listed is 'localhost' (that is, indeed, the
> main DNS resolver); the local/main resolver have the AD domain as a
> subzone, with correct resolver defined.
> 
> Better to have a 'forward zone' defined?
> 
> -- 
> 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
> 
> 




More information about the samba mailing list