[Samba] Moving to Bind from internal Ubuntu Server

Szymon Życiński sz.zycinski at gmail.com
Fri Apr 25 06:01:53 MDT 2014


Hello

I'm trying to move to Bind from internal DNS. Internal DNS sometimes 
does not answer for clients with forwarded from another one records. It 
serves only local addreses when there is high traffic.

When i start bind is see some errors:
-----------------------------------
Apr 25 13:50:35 PrimaryDC named[7726]: sizing zone task pool based on 5 
zones
Apr 25 13:50:35 PrimaryDC named[7726]: Loading 'AD DNS Zone' using 
driver dlopen
Apr 25 13:50:35 PrimaryDC named[7726]: dlz_dlopen failed to open library 
'/usr/local/samba/lib/bind9/dlz_bind9_9.so' - 
/usr/local/samba/lib/bind9/dlz_bind9_9.so: failed to map segment from 
shared object: Permission denied
Apr 25 13:50:35 PrimaryDC named[7726]: dlz_dlopen of 'AD DNS Zone' failed
Apr 25 13:50:35 PrimaryDC named[7726]: SDLZ driver failed to load.
Apr 25 13:50:35 PrimaryDC named[7726]: DLZ driver failed to load.
Apr 25 13:50:35 PrimaryDC named[7726]: loading configuration: failure
Apr 25 13:50:35 PrimaryDC named[7726]: exiting (due to fatal error)
----------------------------------------

In /etc/apparmor.d/usr.sbin.named i added lines:
   /usr/local/samba/private/** rkw,
   /usr/local/samba/lib/bind9/** rkw,
   /usr/local/samba/private/dns/** rkw,

Szymon



More information about the samba mailing list