[Samba] Keeping DNS out of Samba

Robert Marcano robert at marcanoonline.com
Thu Dec 19 13:21:55 UTC 2024


On 12/19/24 5:31 AM, Michael Tokarev via samba wrote:
...
> 
> I understand some people on this list don't found this approach good,
> but I haven't seen an explanation of their opinion, despite numerous
> questions about this.  To me, this is much more reliable, manageable
> and bug- and hassle-free than using samba internal DNS.  Especially
> with "don't re-invent the wheel" theme, - named is a complex thing,
> it's unlikely samba will repeat it in a good way.
> 
> Thanks,
> 
> /mjt
> 

I find that just defining your AD domain, and using it only for Windows 
workstations to be extremely easier.

Have your ad.mydomain.example controlled by Samba and then setup your 
preferred DNS to manage your www.mydomain.example, 
imap.mydomain.example,smtp.mydomain.example, etc.etc. and just forward 
ad.mydomain.example to Samba. I just use that and never ever had to 
touch the Samba DNS with its CLI admin tools or Windows DNS admin GUI.

Set all your Windows machines to use the full DNS, no need to have to 
setup forwarders on Samba, let it only know about the Samba managed domains.



More information about the samba mailing list