Hi,

If I remember correctly, there was a feature that was talked about on the
mailing list, and was said it should make it into 1.7, where the
dns-resolver can work with dns records that return multiple IP's, like lets
say:

root@ip-10-77-0-94:~# dig +short tomcat.service.consul A
10.77.4.234
10.77.3.227

and account for all records returned (till 1.6 the resolver was grabbing
only the first IP returned) in terms of load balancing. So I'm testing this
with 1.7.7 like this:

​​
server tomcats tomcat.service.consul:8080 check resolvers dns_resolvers
resolve-prefer ipv4

​instead of:

​​server tomcat1 10.77.4.234:8080 check resolvers dns_resolvers
resolve-prefer ipv4
​server tomcat2 10.77.3.227:8080 check resolvers dns_resolvers
resolve-prefer ipv4

​to load balance between all ip's, but seeing in the logs messages like
this:

Jul  3 17:13:15 ip-10-77-0-94 haproxy[22902]: tomcats/tomcats changed its
IP from 10.77.3.227 to 10.77.4.234 by dns_resolvers/dns0.

​so does this mean the feature is not implemented yet?​

​Thanks,
Igor​

Reply via email to