I am running an experimental cluster with some devices running balenaOS connected to my balenaCloud application:
- 2x rasp pi 3B
- 1x rasp pi 4
My goal is for them to run a peer-to-peer cluster, and discover each other with the assistance of the resin VPN interface that balenaOS created/manages for me. I am able to discover the exact address of any particular device, but there is no docs I can find which speak to how the various peers of a single application on balenaCloud are intended to address each other.
It seems like dnsmasq is employed on the host OS and may provide resolution to application containers, but i am unsure how to proceed with peer discovery using it, what names to attempt to resolve, etc.
Is there a service discovery component provided to resin VPN clients? is the dnsmasq able to resolve my application devices by their device name in balena console somehow? Is there a DNS resolution pattern that I can use to discover other peers that are online ?