[Samba] Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?

lingpanda101 lingpanda101 at gmail.com
Tue Feb 13 20:39:42 UTC 2018


On 2/13/2018 3:07 PM, Ken McDonald via samba wrote:
> I am considering which DNS implementation and cannot determine exactly 
> when someone should use the Bind9 manner with BIND9_DLZ Module.
>
> For my purposes, I will have AD and non-AD nodes on the network using 
> either DHCP or static IP addresses. Some will be Windows & Linux 
> clients joined on the Samba AD domain for logins. Some will be Windows 
> & Linux clients that are standalone using either DHCP or static IP.
>
> How should I best support this environment as a I move to a single AD 
> domain setup with Samba4? I don't need to migrate anything.
>
> In the past, I have supported this arrangement by using DHCP to update 
> DNS (Bind9) which worked great for hostnames (reported from clients) 
> and IP addresses (allocated from DHCP server).
>
> I've read through these wiki's but cannot determine how to choose.
>
> https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End
>
> https://wiki.samba.org/index.php/Samba_Internal_DNS_Back_End
>
> https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9 
>
>
> My questions are:
>
> 1) Which DNS implementation should I use?
>
> 2) Will I be able to have the non-AD devices register their hostnames 
> and IP addresses in the same domain that Samba AD is using? (mine will 
> be the recommended subdomain.domain.com and I'd like all DNS entries 
> for AD and non-AD to be in the subdomain)
>
> Thanks
>
>
Will your DHCP server be the one to register the clients DNS names and 
IP's? If so I vote to go with Bind. It's not difficult to switch between 
the internal and Bind if you want to change in the future.

As far as clients not associated to the domain and registering their 
IP's and names. Not sure if the DHCP server can be authoritative for 
them. In the past I have used the internal and let the clients update 
their own IP's and names with nonsecure DNS updates. I would advise 
against it though.

-- 
--
James




More information about the samba mailing list