# Timeout while resolving the host name

**URL:** <https://discuss.elastic.co/t/timeout-while-resolving-the-host-name/94527>\
**Category:** Elasticsearch\
**Created:** [July 25, 2017, 6:15pm UTC](https://discuss.elastic.co/t/timeout-while-resolving-the-host-name/94527 "2017-07-25T18:15:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [July 25, 2017, 6:15pm UTC](https://discuss.elastic.co/t/timeout-while-resolving-the-host-name/94527/1 "2017-07-25T18:15:38Z")

</div>

[2017-07-25T17:42:42,422][WARN][o.e.d.z.UnicastZenPing] [node-master-2] timed out after [5s] resolving host [[master-node-1.server.com](http://master-node-1.server.com)]  
[2017-07-25T17:42:45,447][INFO][o.e.c.s.ClusterService] [node-master-2] new\_master {node-master-2}{LCzBKb6iSMOejav3WyULxg}{AXe47XLZ8w}{1.2.1.15}{1.2.9.15:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)

Is there a way to increase the value of hosts.resolve\_timeout which has the default value of 5 seconds?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2017, 8:19pm UTC](https://discuss.elastic.co/t/timeout-while-resolving-the-host-name/94527/2 "2017-07-26T20:19:34Z")

</div>

Yes, see [https://www.elastic.co/guide/en/elasticsearch/reference/5.5/modules-discovery-zen.html#unicast](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/modules-discovery-zen.html#unicast)

---

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [July 27, 2017, 4:22am UTC](https://discuss.elastic.co/t/timeout-while-resolving-the-host-name/94527/3 "2017-07-27T04:22:01Z")

</div>

Yes. I have increased the value of hosts.resolve\_timeout and is fine now. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 24, 2017, 4:22am UTC](https://discuss.elastic.co/t/timeout-while-resolving-the-host-name/94527/4 "2017-08-24T04:22:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
