Hi All,
My BIND9 DLZ is not working when the server boots. It only starts working
if I do a "systemctl restart named" afterwards. The strange thing is
if I
disable the named and samba-ad-dc services on boot and start them manually
(named first) everything works fine. The fact that it works if I start
them manually after boot puzzles me. I've gone through
https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End.
Relevant details (Samba server IP is 192.168.1.1) :
Rocky Linux 8.6
Bind 9.11.36-3.el8
Samba 4.16.2 compiled from source ( no special options, just used
./configure and got package dependencies from
https://git.samba.org/?p=samba.git;a=blob_plain;f=bootstrap/generated-dists/centos8/bootstrap.sh;hb=v4-16-test
)
samba-ad-dc.service file :
[Unit]
Description=Samba Active Directory Domain Controller
After=network.target remote-fs.target nss-lookup.target named.service
[Service]
Type=forking
ExecStart=/usr/local/samba/sbin/samba -D
PIDFile=/usr/local/samba/var/run/samba.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
/etc/hosts file :
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
192.168.1.1 sampledc.ad.example.com sampledc
/etc/resolv.conf file :
search ad.example.com
nameserver 192.168.1.1
/usr/local/samba/etc/smb.conf file :
[global]
netbios name = SAMPLEDC
realm = AD.EXAMPLE.COM
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
winbindd, ntp_signd, kcc, dnsupdate
workgroup = AD
idmap_ldb:use rfc2307 = yes
[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = No
[netlogon]
path = /usr/local/samba/var/locks/sysvol/ad.oxfordfrozenfoods
.com/scripts
read only = No
/etc/named.conf file :
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
secroots-file "/var/named/data/named.secroots";
recursing-file "/var/named/data/named.recursing";
allow-query { any; };
recursion yes;
forwarders {
8.8.8.8;
};
dnssec-enable yes;
dnssec-validation no;
managed-keys-directory "/var/named/dynamic";
pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
include "/etc/crypto-policies/back-ends/bind.config";
tkey-gssapi-keytab "/usr/local/samba/bind-dns/dns.keytab";
minimal-responses yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
include "/usr/local/samba/bind-dns/named.conf";
journalctl -u name :
-- Logs begin at Fri 2022-06-24 09:13:30 ADT, end at Fri 2022-06-24
09:15:28 ADT. --
Jun 24 09:13:35 sampledc.ad.example.com systemd[1]: Starting Berkeley
Internet Name Domain (DNS)...
Jun 24 09:13:35 sampledc.ad.example.com bash[747]: zone
localhost.localdomain/IN: loaded serial 0
Jun 24 09:13:35 sampledc.ad.example.com bash[747]: zone localhost/IN:
loaded serial 0
Jun 24 09:13:35 sampledc.ad.example.com bash[747]: zone
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN:
loaded serial 0
Jun 24 09:13:35 sampledc.ad.example.com bash[747]: zone
1.0.0.127.in-addr.arpa/IN: loaded serial 0
Jun 24 09:13:35 sampledc.ad.example.com bash[747]: zone 0.in-addr.arpa/IN:
loaded serial 0
Jun 24 09:13:35 sampledc.ad.example.com named[761]: starting BIND
9.11.36-RedHat-9.11.36-3.el8 (Extended Support Version) <id:68dbd5b>
Jun 24 09:13:35 sampledc.ad.example.com named[761]: running on Linux x86_64
4.18.0-372.9.1.el8.x86_64 #1 SMP Tue May 10 14:48:47 UTC 2022
Jun 24 09:13:35 sampledc.ad.example.com named[761]: built with
'--build=x86_64-redhat-linux-gnu'
'--host=x86_64-redhat-linux-gnu'
'--program-prefix=' '--disable-dependency-tracking'
'--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include'
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec'
'--sharedstatedir=/var/lib' '--mandir=/usr/share/man'
'--infodir=/usr/share/info'
'--with-python=/usr/libexec/platform-python'
'--with-libtool' '--localstatedir=/var'
'--enable-threads' '--enable-ipv6'
'--enable-filter-aaaa' '--with-pic' '--disable-static'
'--includedir=/usr/include/bind9' '--with-tuning=large'
'--with-libidn2'
'--enable-openssl-hash' '--with-geoip2'
'--enable-native-pkcs11'
'--with-pkcs11=/usr/lib64/pkcs11/libsofthsm2.so'
'--with-dlopen=yes'
'--with-dlz-ldap=yes' '--with-dlz-postgres=yes'
'--with-dlz-mysql=yes'
'--with-dlz-filesystem=yes' '--with-dlz-bdb=yes'
'--with-gssapi=yes'
'--disable-isc-spnego' '--with-lmdb=no' '--with-libjson'
'--enable-dnstap'
'--with-cmocka' '--enable-fixed-rrset'
'--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets'
'--enable-full-report' 'build_alias=x86_64-redhat-linux-gnu'
'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fexceptions -fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
'LDFLAGS=-Wl,-z,relro -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CPPFLAGS=
-DDIG_SIGCHASE'
'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
Jun 24 09:13:35 sampledc.ad.example.com named[761]: running as: named -u
named -c /etc/named.conf
Jun 24 09:13:35 sampledc.ad.example.com named[761]: compiled by GCC 8.5.0
20210514 (Red Hat 8.5.0-10)
Jun 24 09:13:35 sampledc.ad.example.com named[761]: compiled with OpenSSL
version: OpenSSL 1.1.1k FIPS 25 Mar 2021
Jun 24 09:13:35 sampledc.ad.example.com named[761]: linked to OpenSSL
version: OpenSSL 1.1.1k FIPS 25 Mar 2021
Jun 24 09:13:35 sampledc.ad.example.com named[761]: compiled with libxml2
version: 2.9.7
Jun 24 09:13:35 sampledc.ad.example.com named[761]: linked to libxml2
version: 20907
Jun 24 09:13:35 sampledc.ad.example.com named[761]: compiled with libjson-c
version: 0.13.1
Jun 24 09:13:35 sampledc.ad.example.com named[761]: linked to libjson-c
version: 0.13.1
Jun 24 09:13:35 sampledc.ad.example.com named[761]: compiled with zlib
version: 1.2.11
Jun 24 09:13:35 sampledc.ad.example.com named[761]: linked to zlib version:
1.2.11
Jun 24 09:13:35 sampledc.ad.example.com named[761]: threads support is
enabled
Jun 24 09:13:35 sampledc.ad.example.com named[761]:
----------------------------------------------------
Jun 24 09:13:35 sampledc.ad.example.com named[761]: BIND 9 is maintained by
Internet Systems Consortium,
Jun 24 09:13:35 sampledc.ad.example.com named[761]: Inc. (ISC), a
non-profit 501(c)(3) public-benefit
Jun 24 09:13:35 sampledc.ad.example.com named[761]: corporation. Support
and training for BIND 9 are
Jun 24 09:13:35 sampledc.ad.example.com named[761]: available at
https://www.isc.org/support
Jun 24 09:13:35 sampledc.ad.example.com named[761]:
----------------------------------------------------
Jun 24 09:13:35 sampledc.ad.example.com named[761]: adjusted limit on open
files from 262144 to 1048576
Jun 24 09:13:35 sampledc.ad.example.com named[761]: found 2 CPUs, using 2
worker threads
Jun 24 09:13:35 sampledc.ad.example.com named[761]: using 1 UDP listener
per interface
Jun 24 09:13:35 sampledc.ad.example.com named[761]: using up to 21000
sockets
Jun 24 09:13:35 sampledc.ad.example.com named[761]: loading configuration
from '/etc/named.conf'
Jun 24 09:13:35 sampledc.ad.example.com named[761]: unable to open
'/etc/bind.keys'; using built-in keys instead
Jun 24 09:13:35 sampledc.ad.example.com named[761]: looking for GeoIP2
databases in '/usr/share/GeoIP'
Jun 24 09:13:35 sampledc.ad.example.com named[761]: using default UDP/IPv4
port range: [32768, 60999]
Jun 24 09:13:35 sampledc.ad.example.com named[761]: using default UDP/IPv6
port range: [32768, 60999]
Jun 24 09:13:35 sampledc.ad.example.com named[761]: listening on IPv4
interface lo, 127.0.0.1#53
Jun 24 09:13:35 sampledc.ad.example.com named[761]: listening on IPv6
interface lo, ::1#53
Jun 24 09:13:35 sampledc.ad.example.com named[761]: generating session key
for dynamic DNS
Jun 24 09:13:35 sampledc.ad.example.com named[761]: sizing zone task pool
based on 6 zones
Jun 24 09:13:35 sampledc.ad.example.com named[761]: Loading 'AD DNS
Zone'
using driver dlopen
Jun 24 09:13:37 sampledc.ad.example.com named[761]: samba_dlz: started for
DN DC=ad,DC=example,DC=com
Jun 24 09:13:37 sampledc.ad.example.com named[761]: samba_dlz: starting
configure
Jun 24 09:13:37 sampledc.ad.example.com named[761]: samba_dlz: configured
writeable zone 'ad.example.com'
Jun 24 09:13:37 sampledc.ad.example.com named[761]: samba_dlz: configured
writeable zone '_msdcs.ad.example.com'
Jun 24 09:13:37 sampledc.ad.example.com named[761]: none:105:
'max-cache-size 90%' - setting to 1631MB (out of 1812MB)
Jun 24 09:13:37 sampledc.ad.example.com named[761]: set up managed keys
zone for view _default, file '/var/named/dynamic/managed-keys.bind'
Jun 24 09:13:37 sampledc.ad.example.com named[761]: automatic empty zone:
10.IN-ADDR.ARPA
..................................
Jun 24 09:13:37 sampledc.ad.example.com named[761]: automatic empty zone:
HOME.ARPA
Jun 24 09:13:37 sampledc.ad.example.com named[761]: none:105:
'max-cache-size 90%' - setting to 1631MB (out of 1812MB)
Jun 24 09:13:37 sampledc.ad.example.com named[761]: configuring command
channel from '/etc/rndc.key'
Jun 24 09:13:37 sampledc.ad.example.com named[761]: command channel
listening on 127.0.0.1#953
Jun 24 09:13:37 sampledc.ad.example.com named[761]: configuring command
channel from '/etc/rndc.key'
Jun 24 09:13:37 sampledc.ad.example.com named[761]: command channel
listening on ::1#953
Jun 24 09:13:37 sampledc.ad.example.com named[761]: additionally listening
on IPv4 interface ens3, 192.168.1.1#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: managed-keys-zone:
journal file is out of date: removing journal file
Jun 24 09:13:37 sampledc.ad.example.com named[761]: managed-keys-zone:
loaded serial 45
Jun 24 09:13:37 sampledc.ad.example.com named[761]: zone 0.in-addr.arpa/IN:
loaded serial 0
Jun 24 09:13:37 sampledc.ad.example.com named[761]: zone
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN:
loaded serial 0
Jun 24 09:13:37 sampledc.ad.example.com named[761]: zone
1.0.0.127.in-addr.arpa/IN: loaded serial 0
Jun 24 09:13:37 sampledc.ad.example.com named[761]: zone localhost/IN:
loaded serial 0
Jun 24 09:13:37 sampledc.ad.example.com named[761]: zone
localhost.localdomain/IN: loaded serial 0
Jun 24 09:13:37 sampledc.ad.example.com named[761]: all zones loaded
Jun 24 09:13:37 sampledc.ad.example.com named[761]: running
Jun 24 09:13:37 sampledc.ad.example.com systemd[1]: Started Berkeley
Internet Name Domain (DNS).
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:500:9f::42#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:503:c27::2:30#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:dc3::35#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:500:2::c#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:500:2d::d#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:500:1::53#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:500:12::d0d#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:7fd::1#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:500:a8::e#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:7fe::53#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:500:2f::f#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:503:ba3e::2:30#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: network unreachable
resolving './NS/IN': 2001:500:200::b#53
Jun 24 09:13:37 sampledc.ad.example.com named[761]: managed-keys-zone: Key
20326 for zone . acceptance timer complete: key now trusted
Jun 24 09:13:37 sampledc.ad.example.com named[761]: resolver priming query
complete
journalctl -u samba-ad-dc :
-- Logs begin at Fri 2022-06-24 09:13:30 ADT, end at Fri 2022-06-24
09:15:28 ADT. --
Jun 24 09:13:37 sampledc.ad.example.com systemd[1]: Starting Samba Active
Directory Domain Controller...
Jun 24 09:13:37 sampledc.ad.example.com systemd[1]: samba-ad-dc.service:
Can't open PID file /usr/local/samba/var/run/samba.pid (yet?) after start:
No such file or directory
Jun 24 09:13:37 sampledc.ad.example.com systemd[1]: Started Samba Active
Directory Domain Controller.
Jun 24 09:13:39 sampledc.ad.example.com samba[1103]: [2022/06/24
09:13:39.065845, 0] ../../source4/samba/server.c:897(binary_smbd_main)
Jun 24 09:13:39 sampledc.ad.example.com samba[1103]: binary_smbd_main:
samba: using 'prefork' process model
Jun 24 09:13:39 sampledc.ad.example.com smbd[1160]: [2022/06/24
09:13:39.713522, 0] ../../source3/smbd/server.c:1741(main)
Jun 24 09:13:39 sampledc.ad.example.com smbd[1160]: smbd version 4.16.2
started.
Jun 24 09:13:39 sampledc.ad.example.com smbd[1160]: Copyright Andrew
Tridgell and the Samba Team 1992-2022
Jun 24 09:13:40 sampledc.ad.example.com winbindd[1231]: [2022/06/24
09:13:40.204002, 0] ../../source3/winbindd/winbindd.c:1723(main)
Jun 24 09:13:40 sampledc.ad.example.com winbindd[1231]: winbindd version
4.16.2 started.
Jun 24 09:13:40 sampledc.ad.example.com winbindd[1231]: Copyright Andrew
Tridgell and the Samba Team 1992-2022
Jun 24 09:13:41 sampledc.ad.example.com winbindd[1231]: [2022/06/24
09:13:41.489585, 0]
../../source3/winbindd/winbindd_cache.c:3087(initialize_winbindd_cache)
Jun 24 09:13:41 sampledc.ad.example.com winbindd[1231]:
initialize_winbindd_cache: clearing cache and re-creating with version
number 2
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.044877, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: Traceback (most recent call last):
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.045313, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: File
"/usr/local/samba/sbin/samba_dnsupdate", line 298, in check_dns_name
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.045487, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: ans
check_one_dns_name(normalised_name, d.type, d)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.045542, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: File
"/usr/local/samba/sbin/samba_dnsupdate", line 275, in
check_one_dns_name
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.045592, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: return resolver.resolve(name,
name_type)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.045753, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: File
"/usr/lib/python3.6/site-packages/dns/resolver.py", line 949, in query
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.045901, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: timeout self._compute_timeout(start)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.045956, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: File
"/usr/lib/python3.6/site-packages/dns/resolver.py", line 858, in
_compute_timeout
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046082, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: raise Timeout(timeout=duration)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046137, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: dns.exception.Timeout: The DNS
operation timed out after 15.006289958953857 seconds
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046184, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate:
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046262, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: During handling of the above
exception, another exception occurred:
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046312, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate:
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046360, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: Traceback (most recent call last):
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046442, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: File
"/usr/local/samba/sbin/samba_dnsupdate", line 843, in <module>
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046495, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: elif not check_dns_name(d):
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046550, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: File
"/usr/local/samba/sbin/samba_dnsupdate", line 300, in check_dns_name
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046639, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: raise Exception("Timeout while
waiting to contact a working DNS server while looking for %s as %s" % (d,
normalised_name))
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.046746, 0]
../../lib/util/util_runcmd.c:355(samba_runcmd_io_handler)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
/usr/local/samba/sbin/samba_dnsupdate: Exception: Timeout while waiting to
contact a working DNS server while looking for SRV _ldap._tcp.dc._msdcs.
ad.example.com sampledc.ad.example.com 389 as _ldap._tcp.dc._msdcs.
ad.example.com.
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]: [2022/06/24
09:13:58.108178, 0]
../../source4/dsdb/dns/dns_update.c:86(dnsupdate_nameupdate_done)
Jun 24 09:13:58 sampledc.ad.example.com samba[1230]:
dnsupdate_nameupdate_done: Failed DNS update with exit code 1
Thanks,
Dale