Ken McDonald
2018-Feb-13 23:55 UTC
[Samba] Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?
With Linux DHCP + Bind it was possible to have the DHCP server dynamically update Bind as new clients appeared. I don't need the clients themselves updating DNS records directly. For those few nodes using static IP addresses and not on the AD domain, I'm fine with having to manually enter their A/PTR records into the DNS database. IIRC normal MS Windows AD DC allows for nodes that are joined to the AD domain and have static IP addresses to register with DNS automagically because they are trusted. Really I just need the DHCP to give out IP and some how have those nodes resolve by name through DNS. How that happens is totally flexible. I need to support nodes on the AD domain and those that are standalone. On 02/13/2018 03:39 PM, lingpanda101 via samba wrote:> 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. >
Rowland Penny
2018-Feb-14 09:20 UTC
[Samba] Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?
On Tue, 13 Feb 2018 18:55:36 -0500 Ken McDonald via samba <samba at lists.samba.org> wrote:> With Linux DHCP + Bind it was possible to have the DHCP server > dynamically update Bind as new clients appeared. I don't need the > clients themselves updating DNS records directly. For those few nodes > using static IP addresses and not on the AD domain, I'm fine with > having to manually enter their A/PTR records into the DNS database. > IIRC normal MS Windows AD DC allows for nodes that are joined to the > AD domain and have static IP addresses to register with DNS > automagically because they are trusted. > > Really I just need the DHCP to give out IP and some how have those > nodes resolve by name through DNS. How that happens is totally > flexible. I need to support nodes on the AD domain and those that are > standalone. >This does what you want: https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9 You could Manually add fixed IP machines with samba-tool Rowland
Ken McDonald
2018-Feb-14 12:41 UTC
[Samba] Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?
I saw this earlier during my research and had planned to try using it once I read through the code. Seems fairly comprehensive (complex too). I'd like to understand better what it's doing and why. Thanks for your information. On 02/14/2018 04:20 AM, Rowland Penny via samba wrote:> On Tue, 13 Feb 2018 18:55:36 -0500 > Ken McDonald via samba <samba at lists.samba.org> wrote: > >> With Linux DHCP + Bind it was possible to have the DHCP server >> dynamically update Bind as new clients appeared. I don't need the >> clients themselves updating DNS records directly. For those few nodes >> using static IP addresses and not on the AD domain, I'm fine with >> having to manually enter their A/PTR records into the DNS database. >> IIRC normal MS Windows AD DC allows for nodes that are joined to the >> AD domain and have static IP addresses to register with DNS >> automagically because they are trusted. >> >> Really I just need the DHCP to give out IP and some how have those >> nodes resolve by name through DNS. How that happens is totally >> flexible. I need to support nodes on the AD domain and those that are >> standalone. >> > This does what you want: > > https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9 > > You could Manually add fixed IP machines with samba-tool > > Rowland > > > >
Seemingly Similar Threads
- Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?
- Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?
- Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?
- Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?
- Which DNS to use for DHCP hostname/IP updates from non-AD & AD nodes?