[Samba] Testing replication between 4 DCs

Rowland Penny rpenny at samba.org
Wed Nov 23 17:02:05 UTC 2022



On 23/11/2022 16:04, Michael Tokarev via samba wrote:

> Are you sure DC3 and DC4 *have* to replicate between each other?

Yes, all DC's have to replicate to all other DC's

> I'm new to this stuff, but I had to add extra links 

You shouldn't have to, Samba should add them for you.

> (how is that,
> NTDS? I forgot) between two out of 3 DCs here in order to enable
> replication between them. In "Sites and Subnets" snap, under each
> DC, there's one more level with the links. Some links are created
> automatically, some have to be created explicitly.  I don't know
> if that's how it is supposed to work, but this is what I've seen
> when doing experiments here.

You seem to be having problems, oh yes, aren't you the person using 
unbound ?

> 
> FWIW, this process does not use PTR records.
> 
> Speaking of resolv.conf at each DC pointing to this very DC

No the first nameserver in a DC's /etc/resolv.conf should be the DC's 
ipaddress, or to put it another way, every DC uses itself as its nameserver.

> - I'd
> avoid this one because of a very simple reason: if replication to
> this DC doesn't work for some reason, DNS replication doesn't work
> too, so it wont see new names in the net (which might be required
> for the replication to work).  This is one of the reasons I don't
> use samba-provided DNS, 

No, that is one of the reasons you are having problems with replication.

> - to keep it simple and avoid such sort
> of issues.  DNS is already well set up with replication and
> reservation to ensure it is always working.  YMMV.

It does, my domain works.

Rowland



More information about the samba mailing list