[Samba] Samba AD with multiple DC and multiple NICs

Rowland penny rpenny at samba.org
Wed Oct 21 10:15:03 UTC 2020

On 21/10/2020 10:58, Stefano Vargiu via samba wrote:
>>   they can only have one hostname, so which Ipaddress do you link to that?
> Both IPs? The requirement of a DC having only one hostname doesn't rule out
> the option to let it be resolved to multiple IPs (which on the other hand
> samba does automatically when binding it to multiple interfaces).
>> What you could is, use one IP and then use a CNAME for the other IP
> Sorry, again I don't get it. Why a CNAME?
> How can I associate the second IP to a CNAME record?
You don't  'associate' the second IP, you sue the 'CNAME' instead of the 
second IP. AD lives on DNS, so what you are proposing is likely to kill 
your AD.
> With the configuration you are suggesting, are you implying that I should
> only bind samba to one interface, or I can keep two interfaces in the
> "interfaces" parameter?

Yes, one DC, one hostname, one interface.


More information about the samba mailing list