[Samba] samba_dnsupdate timeout

Andrea Venturoli ml at netfence.it
Mon Dec 13 17:29:32 UTC 2021

On 12/10/21 11:46, Rowland Penny via samba wrote:

> Does the jails /etc/resolv.conf point to its ipaddress (not
> ?


> There are quite a number of dns records on a DC that need to exist,
> samba_dnsupdate checks that they exist and creates them if they don't,

So, IIUC, this is run periodically on a DC?

>> _ what to look for to diagnose this?
> check /etc/resolv.conf, /etc/hosts /etc/hostname for a start.

# cat /etc/resolv.con
domain ad.xxxx.netfence.it

# grep -v ^# /etc/hosts		localhost localhost.ad.xxxx.netfence.it	dc1.ad.xxxx.netfence.it	dc1

# cat /etc/hostname
cat: /etc/hostname: No such file or directory
(This is set when creating the jail)
# hostname

Changing hostname to dc1.ad.xxxx.netfence.it seems to have stop this (at 
least for now).

I wonder why it worked for years, then stopped.
Also I wonder why it works with an almost identical setup elsewhere.

In any case, thanks.


More information about the samba mailing list