Dear Husarnet,
We have successfully developed a multi drone, multi discovery server system (each drone a discovery server) all registering on husarnet that connects dynamically do new drones.
There is however one detail that is capable of breaking inter drone communication.
The problem arises when a drone gets a full update and the VPN sidecar is fully reset. This sidecar is configured to use the hostname that matches the drone ID, which after a full reset and wipe, is the same. So now husarnet will register with the same hostname as before the update.
This causes two hostnames with the same name to be present in the hosts file but witth two different ip adresses. This breaks the discoverability of nodes, seemingly randomly.
So my question is this, is it possible that husarnet automatically removes and de-registers an old hostname entry and replaces it when a new device logs in with the same hostname? (Basically disallows multiple IP addresses with the same hostname).
Or even better, could the newly updated drone be assigned the same ip address that it previously had before the update? Thereby preventing the double hosts entry?
Greetings