[Samba] Bind DLZ Crash

L. van Belle belle at samba.org
Fri Jun 3 12:44:34 UTC 2022


It looks like there is still a flatefile zone in there. 
Can you check that? 

Or one more recheck on : 
https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End 

also, I understand/saw somewhere you use systemd. 

run the following. 

systemctl edit samba-ad-dc.service 
Add.. 

## --- start
[Unit]
After=network.target network-online.target bind9.service named.service
# You see bind9 and named these don’t bite one other, 
# but you can set 1 that matches your system. 
# This makes sure bind9 is restarted also and always loaded before samba
starts.

[Service]
NotifyAccess=all
## --- end 

When that’s all done. 

systemctl stop samba-ad-dc bind9
systemctl start samba-ad-dc bind9
Don’t use restart here. 

Now verify again. 

Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba <samba-bounces at lists.samba.org> Namens Zombie Ryushu via
> samba
> Verzonden: vrijdag 3 juni 2022 14:22
> Aan: Rowland Penny via samba <samba at lists.samba.org>
> Onderwerp: [Samba] Bind DLZ Crash
> 
> Jun 03 08:19:05 serenity named[30477]: dns_rdata_fromtext:
> buffer-0x7f8699afd5c0:1: near 'serenity..': empty label Jun 03 08:19:05
> serenity named[30477]: Failed to put rr Jun 03 08:19:05 serenity
> named[30477]: zone pukey/NONE: could not find NS and/or SOA records Jun
> 03 08:19:05 serenity named[30477]: zone pukey/NONE: has 0 SOA records
> Jun 03 08:19:05 serenity named[30477]: zone pukey/NONE: has no NS
> records Jun 03 08:19:05 serenity named[30477]: samba_dlz: Failed to
> configure zone 'pukey'
> Jun 03 08:19:05 serenity named[30477]: loading configuration: bad zone Jun
> 03 08:19:05 serenity named[30477]: exiting (due to fatal error)
> 
> Trying to use Bind DLZ results in one of my servers crashing.
> 
> dlz "AD DNS Zone" {
>      # For BIND 9.16.x
>      database "dlopen /usr/lib64/samba/bind9/dlz_bind9_16.so";
> };
> 
> Here is my config. how do I fix this?
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list