Debug: DDNS Updates of Windows Clients

In case the Windows client DDNS (Dynamic DNS) updates don’t work, here are some basic tests.

Check log files

Run the command ipconfig /registerdns on a Windows client and check the following log files:

  • /var/log/daemon.log
  • /var/log/samba/log.samba

Activate more debug

  • ucr set dns/debug/level=11 dns/dlz/debug/level=11
  • /etc/init.d/bind9 restart
  • Run the command ipconfig /registerdns on a Windows client and check the following log files:
    • /var/log/daemon.log

A typical event of registering a name looks similar to:

Oct 23 13:06:12 ucs named[5937]: samba_dlz: ldb: ldb_trace_request: SEARCH
Oct 23 13:06:12 ucs named[5937]: samba_dlz:  dn: DC=win10client,DC=multi.ucs,CN=MicrosoftDNS,DC=DomainDnsZones,DC=multi,DC=ucs
Oct 23 13:06:12 ucs named[5937]: samba_dlz:  scope: base
Oct 23 13:06:12 ucs named[5937]: samba_dlz:  expr: (&(objectClass=dnsNode)(!(dNSTombstoned=TRUE)))
Oct 23 13:06:12 ucs named[5937]: samba_dlz:  attr: dnsRecord
Oct 23 13:06:12 ucs named[5937]: samba_dlz:  attr: dNSTombstoned
Oct 23 13:06:12 ucs named[5937]: samba_dlz:  control: <NONE>
Oct 23 13:06:12 ucs named[5937]: samba_dlz:
Oct 23 13:06:12 ucs named[5937]: samba_dlz: ldb: ldb_trace_request: (schema_load)->read_lock
Oct 23 13:06:12 ucs named[5937]: samba_dlz: ldb: ldb_trace_next_request: (partition)->read_lock
Oct 23 13:06:12 ucs named[5937]: samba_dlz: ldb: partition_read_lock() -> (metadata partition)
Oct 23 13:06:12 ucs named[5937]: samba_dlz: ldb: ldb_trace_next_request: (tdb)->extended
Mastodon