Bug 12931 - samba4 bind dlz module stops working on rndc reload
samba4 bind dlz module stops working on rndc reload
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DNS server
x64 Linux
: P5 major
: ---
Assigned To: Kai Blin
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2017-07-24 10:29 UTC by Stephane Berthelot
Modified: 2018-07-11 15:25 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Berthelot 2017-07-24 10:29:25 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)
Comment 1 Stephane Berthelot 2017-10-03 08:04:05 UTC
Sorry to bump this bug report but I don't think it has been fixed in 4.7.0. Any news ?
Comment 2 Stephane Berthelot 2018-07-11 15:25:21 UTC
Bug still present as of Samba 4.7.x (on Ubuntu 18.04 LTS)