The Samba-Bugzilla – Bug 12931
samba4 bind dlz module stops working on rndc reload
Last modified: 2017-10-03 08:04:05 UTC
I am encountering the exact same problem as described in this bug report.
A patch seems available and should fix the problem.
When reloading bind while I have samba setup as a PDC and using BIND9_DLZ module, the zone is deleted.
Restarting named makes it work again but is not usable since many scripts (logrotate) use reload by default.
Issuing a simple "rndc zonestatus ad.zone" just after restart is OK, and after reload I get a "rndc: 'zonestatus' failed: not found
no matching zone 'ad.zone' in any view"
This may cause a lot of trouble for dynamic updates on somewhat complex setups with Samba as a PDC (samba internal DNS server is really limited...)
I have reported the bug on Ubuntu first ( https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1670450 ), you may find more information there but the patch in univention bugtracker seems to correct the problem even on latest samba versions (4.6.x)
Sorry to bump this bug report but I don't think it has been fixed in 4.7.0. Any news ?