tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MVP for a DHCP server
---- On Wed, 16 Jul 2025 08:54:50 +0100 Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote ---
> EF> I want to configure as little as possible on the clients. [...]
> [...]
> RM> You configure a hostname on the device. [...]
> Hm.
>
>
> > The DHCP server will update the DNS with the hostname/ip
> So you are suggesting that every time one of my 150+ desktop machine (or 20+ network printers) boot, a DHCP server is going to update my three DNS servers and they are going to send (incremental) Zone Transfers to the three secondaries in the Univ. central IT?
That's an implementation detail.
My current idea is to pass IP + hostname + leasetime (for DNS TTL) off to a script and let that work it out.
You need to update 3 (guessing remote) DNS servers.
I'm just going to maintain a DDNS file for unbound to reload on SIGHUP.
> I also have a known_hosts file containing the names+IPs+keys of the 150+ desktop machines so you can reliably SSH to them. How is that going to work with dxnamic addresses?
The same way it currently works?
It's not like you lose the current address just because it's no longer statically maintained - assuming there is some persistent storage on the client to remeber the lease when it boots.
dhcpsd will get optional persistent storage for leases at some point for when the client does have any, just not right away.
And when that happens the MVP is that it doubles as a hardware <-> ip address mapping for you static config lovers.
> I also have some kiosk machines configured as scanning stations (with an externally connected flatbed scanner). Scans are stored on their local discs, but accessing them goes through one of the main web servers which will proxy the request to a local web server on the kiosk machine. Unfortunately, that proxy configuration needs IP addresses. I guess I have more examples like that.
So just thinking out loud, like the script to update DNS, a script could fire off some matching data "this is a scanning station!" and then update the proxy configuration with the ip address.
How that works or looks is an implementation detail.
Is this more upfront work then maintaining these static mappings in a lot of different places? Maybe.
But when/if network renumbering happens doing it this way things will update themselves automatically.
Roy
Home |
Main Index |
Thread Index |
Old Index