Hi,
after ucr set dns/debug/level=10
and systemctl restart bind9.service
, DNS resolution broke.
490 2020-09-14 14:10:29 ucr get dns
491 2020-09-14 14:10:36 ucr get dns/debug/level
492 2020-09-14 14:10:42 ucr set dns/debug/level=3
493 2020-09-14 14:10:53 systemctl restart bind9.service
494 2020-09-14 14:11:18 cd /etc/rsyslog.d/
495 2020-09-14 14:11:28 cp slapd-queries.conf bind9.conf
496 2020-09-14 14:11:31 nano bind9.conf
497 2020-09-14 14:12:01 ll /var/log/
498 2020-09-14 14:12:12 nano bind9.conf
499 2020-09-14 14:13:24 ucr --help
500 2020-09-14 14:13:36 ucr info dns/debug/level
501 2020-09-14 14:14:59 ucr set dns/debug/level=10
502 2020-09-14 14:15:05 systemctl restart bind9.service
503 2020-09-14 14:16:05 rndc querylog
504 2020-09-14 14:16:20 ucr set dns/debug/level=0
505 2020-09-14 14:16:23 systemctl restart bind9.service
506 2020-09-14 14:16:42 rndc --help
507 2020-09-14 14:19:24 ll /etc/bind/
508 2020-09-14 14:19:29 cd /etc/bind/
509 2020-09-14 14:19:50 grep severity -R
510 2020-09-14 14:20:48 named-checkconf /etc/bind/named.conf
511 2020-09-14 14:20:53 echo $?
512 2020-09-14 14:21:04 man named-checkconf
513 2020-09-14 14:29:22 host <redacted>
As you can see, there isn’t much that might have broken the DNS resolution. I found some articles online stating that I’d have to start samba-ad-dc.service
after bind9.service
but no combination of restarting or stopping and starting helped.
When issuing samba_dnsupdate --verbose --all-names
I get lots of output with many records resulting in
ERROR(runtime): uncaught exception - (1383, 'WERR_INTERNAL_DB_ERROR')
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 185, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 944, in run
raise e
Failed 'samba-tool dns' based update of SRV _ldap._tcp.berlin._sites.ForestDnsZones.example.com ucs-addc.example.com 389
Failed update of 36 entries
As resolving our local zone doesn’t work at the moment I thought it might be because it cannot resolve ucs-addc.example.com but it resolves just fine thanks to the hosts file.
Even a server reboot did not help. Is there any way to get DNS back up and running?