Ive setup consul and registrator, both seem to be working well and all my containers are registering as services. consuls DNS is bound to the docker0 bridge IP and all containers point to this IP as their DNS servers.
I have one service that contains 2 containers and because i am using the -internal switch when i start registrator both of the container IPs are registered in consuls DNS. I can ping the service name (appserver.service.consul) from the host server as Ive set it to use consuls DNS as well and i get round robin responses as expected. however the containers do not behave the same - if i docker exec -it bash into them and ping appserver.service.consul i always get the same IP returned.
Ive installed dnsutils on one of the containers so i can dig the consul DNS server and i get both A records returned - but i dont understand why i never get a round robin response - does anyone have any ideas on why round robin isnt working for my containers?