[Samba] Samba public IP issue

Andrew Bartlett abartlet at samba.org
Fri Dec 20 07:53:55 UTC 2019

On Fri, 2019-12-20 at 09:22 +0200, cristiant--- via samba wrote:
> Hello,
> I am running two Samba Domain Controllers on as Ubuntu 18.04 VMs 
> installed on two physical hosts. I've managed to bind them and to run 
> the replication. My issues is that the private IP address is advertised 
> and the replication fails. Even though I update the DNS entry  after a 
> few minutes the changes are overwritten and the replication fails again.
> Can someone help me with this issue? Is there any option to make this 
> changes permanent?
> Thank you in advance!

There is a --current-ip option to samba_dnsupdate, the smb.conf could
be updated to call it with that IP.  I've not tested it but I did add
it in the hope it would help here.

Typically folks just bridge their VM onto the LAN however, rather than
pushing it via NAT.

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list