[Samba] help again with dns and samba 4 ad

Rowland penny rpenny at samba.org
Wed Sep 2 14:02:35 UTC 2020


On 02/09/2020 14:19, jmpatagonia via samba wrote:
> I need helping again implementing samba4 ad and dns:
>
> Actually we have a dnsmasq server with dhcp/dns services for users on the
> lan, if we start to using the internal samba4 dns server to resolv names on
> the zone of DC server example mydomain.test.com we can use the actual
> dnsmasq to server another domains that we need ?, for example
> otherdomain.testing.com.ar
>
> If that is correct we need to include the parameter
>                  dns forwarder = dnsmasq-ip-server
> on the smb.conf ? so what samba asking dnsmasq to resolv the name.
>
> Regards.

It all depends on whether you have any Unix dhcp clients in the AD 
domain, because these will not update their records in AD.

Windows clients can update their AD records.

Your domain clients must use the DC(s) as their nameserver(s) and 
anything it doesn't know about (www.google.com for instance) will be 
forwarded to the DNS server set in smb.conf or the bind conf files (if 
using Bind9).

So, yes you can use your dnsmasq server, provided it isn't in the same 
dns domain as your DC(s).

Rowland





More information about the samba mailing list