[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 127.0.0.1)
> ?

Yes.



> 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,

Thanks.
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
nameserver 192.168.128.2
domain ad.xxxx.netfence.it

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

192.168.128.2	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
dc1.ad.xxxx

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.

  bye
	av.



More information about the samba mailing list