I have the following configuration:
- 2 nodes in 2 different datacenter but on the same private network
- 1 nodes in a third datacenter, not connected to the private network
I tried to use a hostname for publish_host, so I could resolved private IP for nodes that are on private network, and public IP for the node outside.
But it looks like the publish_host is resolved before it is published to the other nodes. So the only solution is I see for now is to use the public IP address, but the 2 nodes loose the benefice of the private network (which is way faster).
Is it possible for ES to not resolve this hostname?