[Samba] samba DC and docker interfaces?

Robert Marcano robert at marcanoonline.com
Thu Dec 17 17:08:22 UTC 2020


On 12/17/20 1:04 PM, Robert Marcano wrote:
> On 12/17/20 12:50 PM, Joachim Lindenberg via samba wrote:
>> I configured docker on one of my DCs, and the DC now registers the 
>> docker bridge as one of its IP address in DNS. Is there a way to 
>> suppress this?
>>
>> Thanks, Joachim
>>
> 
> I have never managed to do this, the container private IP is always 
> added because it is listening on it. I had to enable host networking in 
> order to Samba only use public addresses.
> 
> I even tried with a script to remove the offending IP DNS record, but 
> noticed it was being added again while the DC was running.

Now that I reread this, you are running Docker not Samba inside a Docker 
container, use the "interfaces" global option



More information about the samba mailing list