I’m trying to decide on a solution to handle DNS updates for mobile DHCP clients.
Vehicles will have an onboard router providing NAT between the local network and the stations. An application running centrally will know the vehicles by hostname, and that hostname should resolve to the dynamic IP of the NAT router on the vehicle, not the IP of the server behind the NAT.
I’m imagining a DDNS agent running on the server in the vehicle, and a private DDNS server running centrally which will receive the updates from the agent and update the IP for a given hostname based on the source IP of the connection which in this case will be the dynamic IP of the router on the bus.
I’m unfamiliar with DNS server options and wouldn’t personally be setting it up but rather making a suggestion to the customer to avoid our company having to write a janky custom DDNS solution (someone proposed host file updates *shudder*)
If I have to, I could write a service to poll a central server from the vehicle, and when the central server receives an update, it updates the associated AD DNS A record. But I suspect there’s a massively more secure and reliable option to handle it.
Powered by WPeMatico