I am using elasticsearch 2.3.4. In the past we have explicitly provided the IP's in
discovery.zen.ping.unicast.hosts. This isn't idea because when I am upgrading clusters, I now have to remember to update the static list of IPs.
I would like to change this to using DNS (specifically consul DNS).
A few questions about how elasticsearch deals with DNS.
- Is there any specific risk to using DNS in the list provided to
discovery.zen.ping.unicast.hosts? (assuming DNS is working with health host)
- How does the elasticsearch process items list? If the node can't reach the first node does it retry the DNS? "A fresh request"
- can i only put one DNS entry or should I repeat the DNS entry because the list is only read once?