How do I register DHCP linux client's hostnames in a windows server DNS?
I have a small-business mixed network with:
- DCHP Windows workstations (Example hostname:
- About 10 machines
- Machines are on the domain, no special config.
- DHCP Linux (Debian stretch) workstations (Example hostname:
- About 20 machines
- Connected to domain with
- Can use AD credentials on any machine
hosts: files dnswhich I think means that linux clients can import hostnames from the DNS
- DHCP/DNS server running Windows Server at a static IP
From any machine I can
ping win1, but can't
ping lin1 which tells us:
- all machines use the DNS fine (can ping
- windows hostnames are automatically registered
- linux hostnames are not automatically registered
hosts: We don't have static IPs so I'm not going to manually maintain a master copy of the
hostsfile and distribute it whenever a new DHCP lease is issued.
Arecords to DNS: Again, I don't want to manually update records when new DHCP leases are issued.
avahi: The windows clients can't see the linux ones.
Things I haven't tried:
likewise: I'd rather not abandon
sssdand reconfigure all 20 machines from scratch like this. But if
lw-register-dnswould solve the problem and wouldn't conflict with
sssd, then that could be a solution. Still find it weird that clients would need to create a cron-job to modify the DNS, I optimally want to limit DNS write-access.
winbind, also seems to replace
sssdcompletely. I tried the linked suggestion, but saw no differences after restarting the client's networking service.
nmbd. The workstations already use
smbclient, do they really need to become full-fledged samba servers too?
net ads dns register -P. I'll need to get access to the DNS to enable insecure updates.