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
4.5.8
x64 Linux
: P5 major
: ---
Assigned To: Kai Blin
Samba QA Contact
https://forge.univention.org/bugzilla...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-24 10:29 UTC by Stephane Berthelot
Modified: 2017-07-30 23:46 UTC (History)
2 users (show)

See Also:


Attachments

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.

https://forge.univention.org/bugzilla/show_bug.cgi?id=39139

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)