I'm configuring some databases in a swarm cluster environment to use endpoint-mode = dnsrr
Documentation says (https://docs.docker.com/network/overlay/):
"A DNS query for the service name on the Docker host returns a list of IP addresses for the nodes running the service"
I'm having trouble to understand what this sentence is saying.
If I use dig to query the service name, which dns server which I have to use?. Swarm manager (which I understand as docker host) is not running a DNS server as I know.
What I do know is that inside an overlay network you can resolve using tasks.$servicename, but for dnsrr and host network, how it is done?