I’d like to make use of the new feature in 1.11.0
Multiple A/AAAA records from embedded DNS Server for DNS Round robin (#21019)
I’ve got a minimal example with instructions but the DNS isn’t doing round robin.
My understanding is that DNS round robin can be enabled with a network alias like
networks: backend: aliases: # All app servers be referred to by this alias with the backend network - apps
As you can see in this docker-compose.yml file.
Any app using the
apps alias should be in a DNS round robin. So if I setup an nginx.conf file to use the
apps alias I should see requests served by all app hosts.
However, in my example you can see the
curl request always gets served by the same host.
Is there anything else I need to do to enable DNS round robin?
This happens on both Docker Toolbox 1.11.0 and Docker for Mac 1.11.0-beta7 (build: 5830)