[Samba] samba dlz. bind9 nslookup is wrong

Rowland penny rpenny at samba.org
Mon Aug 5 09:27:48 UTC 2019

On 05/08/2019 10:14, Patrik wrote:
> I am not using flatfiles and i using BIND_DLZ it shows in my log and i 
> do not use flatfiles. BIND_DLZ only.

Oh yes you are, you have this in your /etc/bind/named.conf.local :

     zone "patrikx3.com" {
         type master;
         file "/etc/bind/zones/enp1s0f3/patrikx3.com";
         include "/var/lib/samba/private/named.conf.update";

That means your AD records are being stored in 
/etc/bind/zones/enp1s0f3/patrikx3.com and not in AD, this is known as 
'flatfile' and is not supported by Samba.

You also seem to using bind9 as a dns server for domains that have 
nothing to do with AD, this is not recommended.


More information about the samba mailing list