I have a Docker swarm cluster running on several servers (nodes). Docker swarm is using round robin to serve requests to my services and this is working well no matter which server receives a request.
Now I wonder how to route a URL to this setup to have it highly available.
I use Euro DNS (eurodns.com) and set the A record of the domain to multiple IP addresses (the swarm cluster servers).
In general, this seems to be fine as the DNS serves it in round robin and even when it is cached, the node which is hit will serve it round robin due to Docker swarm.
But what if a node/server fails completely? Will I still have high availability?
Even if I were to use another HAProxy load balancer or the like, it seems there is always this problem of DNS being bound to serve to some IP address? So if a HAProxy server fails completely, this would be the same situation?