How To
Enable advanced logging for DDNS updates in nameserver (bind9).
Step 1
Stop nameserver
systemctl stop bind9
Step 2
Edit configuration files manually:
cat /etc/bind/named.conf.samba4 | sed s%dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_10.so -d 0%dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_10.so -d 3%g > /etc/bind/named.conf.samba4.neu
And move them into place:
mv /etc/bind/named.conf.samba4.neu /etc/bind/named.conf.samba4
Step 3
Start bind nameserver in foreground:
named -c /etc/bind/named.conf.samba4 -f -g 2>&1 | tee /tmp/named.log
Step 4
Let it run as long as you need it and stop the process by pressing Ctrl-C.
Step 5
Analyse the resulting file /tmp/named.log
for information you are looking for.
Step 6
Revert the manual changes and restart the nameserver to perform as before:
ucr commit /etc/bind/named.conf.samba4
systemctl restart bind9 nscd