Recently I've created my own thin client operating system (Xubuntu based, so basically Linux yes) that will run across our thin clients. Currently I'm testing the OS in my test environment, but I've come across the following problem.
Our production environments will assign them DHCP private IP-Addresses, and add the client in the domain using SAMBA4. They are now reachable based on IP, but since it's DHCP, the IP will change basically every two weeks. It will be too hard for me to note down all IP's every week and document them. So the solution will probably be DNS, but I'm quite unsure what is the most efficient way?
I've thought about the following solutions:
- Place the hosts in a special subnet, give them static ip addresses and create A record in DNS.
- Why do I want to reach it hostname?
- I want to UltraVNC using a standard hostname, and not every 2 weeks having to change another IP.
- I will be pushing changes with Ansible, I prefer to have a standard hostname, instead of a random IP.