[Samba] Samba AD with external DNS server

L.P.H. van Belle belle at bazuin.nl
Fri Mar 20 07:40:11 MDT 2015


add to your named.conf.options.
on the MASTER (DC)

before the options add:  ( and change the ranged to your ranges or ips..

acl all-networks {
        192.168.0.0/24; 10.249.0.0/16;
        };

in the options.. 

        //  Add any subnets or hosts you want to allow to use this DNS server
        allow-query { "all-networks"; 127.0.0.1/32; };
        //  Add any subnets or hosts you want to allow to use recursive queries
        allow-recursion {  "all-networks"; 127.0.0.1/32; };


and in the "slave dns server" 

add in named.conf.local
/////  ZONE SLAVE
zone "your.domain.tld" IN {
        type slave;
        masters { HERE_IP_OF_DC; };
        file "/var/cache/bind/db.your.domain.tld.hosts";
        notify no;
        allow-transfer { HERE_IP_OF_DC; 127.0.0.1; ::1; };
};
zone "0.168.192.in-addr.arpa" {
        type slave;
        masters { HERE_IP_OF_DC; };
        file "/var/cache/bind/db.your.domain.tld.rev";
        notify no;
        allow-transfer { HERE_IP_OF_DC; 127.0.0.1; ::1; };
};

and try again.
this works fine for me. 

Greetz, 
Louis


>-----Oorspronkelijk bericht-----
>Van: Harry.Busch at hs-furtwangen.de 
>[mailto:samba-bounces at lists.samba.org] Namens Harry Busch 
>(bh at hs-furtwangen.de)
>Verzonden: vrijdag 20 maart 2015 14:20
>Aan: samba at lists.samba.org
>Onderwerp: [Samba] Samba AD with external DNS server
>
>Hallo,
>
>We have Samba4 (Sernet, Version4.1) on a Debian Wheezy server. 
>There we try to
>use our Infoblox (It is our primary and secondary DNS server) 
>as an external DNS
>server for the active directory on the samba4 server. It 
>doesn’t matter which
>setup option (Samba_internal, bind_dlz, none) we use it doesn’t work.
>
>Harry
>-- 
>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