# An alias for the node.name settings

**URL:** https://discuss.elastic.co/t/an-alias-for-the-node-name-settings/326082
**Category:** Elasticsearch
**Created:** [February 21, 2023, 2:50pm UTC](https://discuss.elastic.co/t/an-alias-for-the-node-name-settings/326082 "2023-02-21T14:50:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Roberto\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roberto_b/32/77615_2.png) [@Roberto\_B](https://discuss.elastic.co/u/Roberto_B)
#### Post date: [February 21, 2023, 2:50pm UTC](https://discuss.elastic.co/t/an-alias-for-the-node-name-settings/326082/1 "2023-02-21T14:50:47Z")

</div>

Hi all,

it could be a strange question, but i need to have an alias for the same host in the cluster, for example:

if i have a host with node.name: host1 I would like to have an alias for the same host like: "[host1.fake.org](http://host1.fake.org)" (the real name FQDN of host1 is not [host1.fake.org](http://host1.fake.org) but [host1.real.org](http://host1.real.org))

Is it possible by you point of view?

KR

Roberto

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [February 21, 2023, 3:09pm UTC](https://discuss.elastic.co/t/an-alias-for-the-node-name-settings/326082/2 "2023-02-21T15:09:41Z")

</div>

I'm not sure this is related to Elasticsearch and what is the real issue.

The `node.name` can be anything, it doesn't need to be the same as the host name, but you can only have one `node.name`.

If you want that your elasticsearch responds to requests for `host1`, `host1.fake.org` or `host1.real.org` this is unrelated to elasticsearch, it is a DNS issue that depends on your operating system.

---

<div class="post-metadata">

### Author: ![Roberto\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roberto_b/32/77615_2.png) [@Roberto\_B](https://discuss.elastic.co/u/Roberto_B)
#### Post date: [February 21, 2023, 4:52pm UTC](https://discuss.elastic.co/t/an-alias-for-the-node-name-settings/326082/3 "2023-02-21T16:52:40Z")

</div>

So node.name is not used by ES to resolve it !(ES do not perform an DNS request to resolve the node.name if i use FQDN)

---

<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: [March 21, 2023, 4:53pm UTC](https://discuss.elastic.co/t/an-alias-for-the-node-name-settings/326082/4 "2023-03-21T16:53:19Z")

</div>

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