# DNS Lookup

**URL:** https://discuss.elastic.co/t/dns-lookup/15496
**Category:** Elasticsearch
**Created:** [January 30, 2014, 11:05am UTC](https://discuss.elastic.co/t/dns-lookup/15496 "2014-01-30T11:05:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Mack](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@Daniel\_Mack](https://discuss.elastic.co/u/Daniel_Mack)
#### Post date: [January 30, 2014, 11:05am UTC](https://discuss.elastic.co/t/dns-lookup/15496/1 "2014-01-30T11:05:40Z")

</div>

Hello, i have installed Elasticsearch, Kibana and Fluentd on Debian 7.0  
with rsyslog for Logging Network devices like Switches and Firewalls. I get  
from the Firewall the hostname and see it in Kibana but from the Switches  
get I only the IP Address. We don't want to have the Switches on the DNS  
Server but i have written the Hostnames and the IP Adresses from the  
Switches in etc/hosts on the Debian Server.  
But the resolution did not go.

What can i do?

Best Regards

Daniel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2f313529-ddfb-4f83-93c7-c321543e1478%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f313529-ddfb-4f83-93c7-c321543e1478%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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: [January 30, 2014, 11:11am UTC](https://discuss.elastic.co/t/dns-lookup/15496/2 "2014-01-30T11:11:44Z")

</div>

You'll have to add it to DNS.

I think the hosts file can be used like that, but it'd depend on the  
application reading it to do the translation.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 30 January 2014 22:05, Daniel Mack [daniel21mack@googlemail.com](mailto:daniel21mack@googlemail.com) wrote:

> Hello, i have installed Elasticsearch, Kibana and Fluentd on Debian 7.0  
> with rsyslog for Logging Network devices like Switches and Firewalls. I get  
> from the Firewall the hostname and see it in Kibana but from the Switches  
> get I only the IP Address. We don't want to have the Switches on the DNS  
> Server but i have written the Hostnames and the IP Adresses from the  
> Switches in etc/hosts on the Debian Server.  
> But the resolution did not go.
> 
> What can i do?
> 
> Best Regards
> 
> Daniel
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/2f313529-ddfb-4f83-93c7-c321543e1478%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f313529-ddfb-4f83-93c7-c321543e1478%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624bzMBXYGj5j7ROvzP4FscRB92FUCbBK5ec3ksNyQQ59Nw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bzMBXYGj5j7ROvzP4FscRB92FUCbBK5ec3ksNyQQ59Nw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)
#### Post date: [January 30, 2014, 11:25am UTC](https://discuss.elastic.co/t/dns-lookup/15496/3 "2014-01-30T11:25:43Z")

</div>

It's not a specific ES question, you should ask your network administrator  
for assistance.

If your firewall can provide the hostname (or better, the DHCP daemon of  
your firewall/router?) you should be able to configure your hosts to  
receive the DHCP host name at boot time.

Jörg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE1Z1tXBCmnip78OA8FjOKGZgYTL3mhQmvWz0Zb9-H6cg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE1Z1tXBCmnip78OA8FjOKGZgYTL3mhQmvWz0Zb9-H6cg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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: [July 6, 2017, 1:53am UTC](https://discuss.elastic.co/t/dns-lookup/15496/4 "2017-07-06T01:53:59Z")

</div>


