Hi,
By doing my weekly task log checking, I saw the following error in syslog.
I've changed nothing the last couple of months.
My Environment:
2x Server Ubuntu 22.04.4 LTS with:
- Samba Version 4.19.0 AC-DC (Selfcompiled default values)
Samba version: 4.19.0Build environment:Paths:BINDIR: /usr/local/samba/binSBINDIR: /usr/local/samba/sbinCONFIGFILE: /usr/local/samba/etc/smb.confNCALRPCDIR: /usr/local/samba/var/run/ncalrpcLOGFILEBASE: /usr/local/samba/varLMHOSTSFILE: /usr/local/samba/etc/lmhostsDATADIR: /usr/local/samba/shareMODULESDIR: /usr/local/samba/libLOCKDIR: /usr/local/samba/var/lockSTATEDIR: /usr/local/samba/var/locksCACHEDIR: /usr/local/samba/var/cachePIDDIR: /usr/local/samba/var/runPRIVATE_DIR: /usr/local/samba/privateCODEPAGEDIR: /usr/local/samba/share/codepagesSETUPDIR: /usr/local/samba/share/setupWINBINDD_SOCKET_DIR: /usr/local/samba/var/run/winbinddNTP_SIGND_SOCKET_DIR: /usr/local/samba/var/lib/ntp_signd
- DNS Backend Bind (BIND 9.18.18-0ubuntu0.22.04.2-Ubuntu)
- SysVol is in sync with rsync
### /var/log/syslog
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.351034, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: Traceback (most recent call last):
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352082, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: File "/usr/local/samba/sbin/samba_dnsupdate", line 883, in <module>
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352119, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: creds = get_credentials(lp)
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352132, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: File "/usr/local/samba/sbin/samba_dnsupdate", line 184, in get_credentials
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352144, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: get_krb5_rw_dns_server(creds, sub_vars['DNSDOMAIN'] + '.')
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352158, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: File "/usr/local/samba/sbin/samba_dnsupdate", line 143, in get_krb5_rw_dns_server
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352203, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: rw_dns_servers = get_possible_rw_dns_server(creds, domain)
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352239, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: File "/usr/local/samba/sbin/samba_dnsupdate", line 122, in get_possible_rw_dns_server
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352253, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: ans_soa = check_one_dns_name(domain, 'SOA')
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352267, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: File "/usr/local/samba/sbin/samba_dnsupdate", line 274, in check_one_dns_name
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352287, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: return resolver.resolve(name, name_type)
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352302, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1202, in resolve
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352510, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: (answer, done) = resolution.query_result(response, None)
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352551, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: File "/usr/lib/python3/dist-packages/dns/resolver.py", line 674, in query_result
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352693, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: raise NoAnswer(response=answer.response)
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.352783, 0] ../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 8 11:54:11 01-dc01 samba[931]: /usr/local/samba/sbin/samba_dnsupdate: dns.resolver.NoAnswer: The DNS response does not contain an answer to the question: intern.preiss.network. IN SOA
Jun 8 11:54:11 01-dc01 samba[931]: [2024/06/08 11:54:11.383823, 0] ../../source4/dsdb/dns/dns_update.c:85(dnsupdate_nameupdate_done)
Jun 8 11:54:11 01-dc01 samba[931]: dnsupdate_nameupdate_done: Failed DNS update with exit code 1
###
Manual nslookup for the SOA entry works:
root@01-dc01:~# nslookup -q=SOA intern.preiss.network 10.10.10.11
Server: 10.10.10.11
Address: 10.10.10.11#53
intern.preiss.network
origin = 01-dc01.intern.preiss.network
mail addr = hostmaster.intern.preiss.network
serial = 1159
refresh = 900
retry = 600
expire = 86400
minimum = 3600
Does someone know how to solve this or can give me some advice?
Greetings,
Ronny
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx https://lists.squid-cache.org/listinfo/squid-users