Hello!
On Wed, Mar 9, 2016 at 6:16 PM, RJoshi wrote:
> When DNS resolves host name to multiple IP addresses, can I set all the IP
> addresses/peers?
>
You have to pick one. You can only connect to one endpoint for every
single TCP connection, for obvious reasons. And each time
balancer_by_lua* is invoked, it is for establishing a new backend TCP
connection. You decide the target of *that* new connection there.
Regards,
-agentzh