[Samba] DNS problems when adding samba DC to win2008R2

Rowland penny rpenny at samba.org
Sun Sep 13 16:10:31 UTC 2020


On 13/09/2020 16:46, Carlos Jesus via samba wrote:
> Hello all,I'm trying to add a self compiled samba 4.12 DC to a Windows
> 2008R2 domain.Adding the samba DC was troublesome but successful (I had to
> modify join.py as I swa in another thread "Join Samba to a Windows AD
> ERR_DS_NO_CROSSREF_FOR_NC". After that I could join the samba DC and
> everything seemed ok.
Could you provide a link to that thread ?
> my named.conf.options:
> acl internals { 127.0.0.0/8; 192.168.59.0/24; };
> options {
>        directory "/var/cache/bind";
>        version "Go Away 0.0.7";
>        notify no;
>        empty-zones-enable no;
>        auth-nxdomain yes;
>        forwarders { 8.8.8.8; 8.8.4.4; };
>        allow-transfer { none; };
>        listen-on-v6 { none; };
>        listen-on port 53 { 192.168.59.112; 127.0.0.1; ::1; };
>
>        dnssec-validation no;
>        dnssec-enable no;
>        dnssec-lookaside no;
>        minimal-responses yes;
>
>        allow-query {
>            127.0.0.1;
>            192.168.59.0/24;
>        };
>         allow-query-cache {
>            127.0.0.1;
> 192.168.59.0/24;
>        };
>        recursion yes;
>        allow-recursion {
>            127.0.0.1;
>            192.168.59.0/24;
>        };
>   tkey-gssapi-keytab "/usr/local/samba/bind-dns/dns.keytab";
>   };
>
> zone "." {
>     type hint;
>     file "named.root";
> };
> zone "localhost" {
>      type master;
>      file "master/localhost.zone";
> };
> zone "0.0.127.in-addr.arpa" {
>      type master;
>      file "master/0.0.127.zone";
> };

You are missing "include "/var/lib/samba/bind-dns/named.conf";" in your 
named.conf file.

Rowland






More information about the samba mailing list