Paul Littlefield
2020-Feb-01 14:46 UTC
[Samba] Failover DC did not work when Main DC failed
On 31/01/2020 18:47, Rowland penny via samba wrote:> in /etc/resolv.conf on Linux clients and I don't have a problem when DNS disconnects on the first nameserver.Just to check, should the 'nameserver' entries in /etc/resolv.conf on the DCs be... nameserver 127.0.0.1 or nameserver 192.168.0.218 I have it as the latter - taken from the Wiki... "On your DC, set the AD DNS domain in the domain and the IP of your DC in the nameserver parameter of the /etc/resolv.conf file." In fact, I have it as... search companydomain.com nameserver 192.168.0.218 nameserver 192.168.0.219 Paul
On 01/02/2020 14:46, Paul Littlefield wrote:> On 31/01/2020 18:47, Rowland penny via samba wrote: >> in /etc/resolv.conf on Linux clients and I don't have a problem when >> DNS disconnects on the first nameserver. > > Just to check, should the 'nameserver' entries in /etc/resolv.conf on > the DCs be... > > nameserver 127.0.0.1 > ? or > nameserver 192.168.0.218 > > I have it as the latter - taken from the Wiki... "On your DC, set the > AD DNS domain in the domain and the IP of your DC in the nameserver > parameter of the /etc/resolv.conf file." > > In fact, I have it as... > > search companydomain.com > nameserver 192.168.0.218 > nameserver 192.168.0.219 >That is correct, though I use the DC's IP address as the only nameserver, working on the premise that if the DC's DNS is down, then the DC is probably down as well ;-) Rowland