High Availability HA Hostnames

Hello everyone,

I have a docker-swarm environment with multiple managers and workers. At the moment our hostnames for the different services, all go to the same manager node and traefik/docker takes care of the rest.

Our worry is, that if the manager-node where all the hostnames go to, goes down, there wouldn't be any access anymore (even though the services would still perfectly run, thanks to swarm).

Can you walk me through a solution? I've heard of heartbeat but don't know how it would need to be implemented.

Thanks