[Samba] samba_dnsupdate timeout
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)
> 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
# 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)
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