# Top List Showing IP vs Hostname

**URL:** <https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616>\
**Category:** Help\
**Created:** [May 17, 2018, 4:49pm UTC](https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616 "2018-05-17T16:49:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mentioneddiagonal](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@mentioneddiagonal](https://discourse.pi-hole.net/u/mentioneddiagonal)\
**Post date:** [May 17, 2018, 4:49pm UTC](https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616/1 "2018-05-17T16:49:56Z")

</div>

#### Please follow the below template, it will help us to help you!

## Expected Behaviour:

Top Client Lists in Long term data shows IP's vs hostnames

## Actual Behaviour:

Top Clients shows IP, however the Dashboard shows hostnames. I have edited the hosts file to map IP's to hostnames. I have my router acting as the DHCP server.

## Debug Token:

mtjp9kpwnd

---

<div class="post-metadata">

**Author:** ![jacob.salmela](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jacob.salmela/32/8_2.png) [@jacob.salmela](https://discourse.pi-hole.net/u/jacob.salmela)\
**Post date:** [May 18, 2018, 10:59am UTC](https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616/2 "2018-05-18T10:59:16Z")

</div>

How recently did you edit the hosts file? Does it show for newer queries and not older or just none at all?

---

<div class="post-metadata">

**Author:** ![mentioneddiagonal](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@mentioneddiagonal](https://discourse.pi-hole.net/u/mentioneddiagonal)\
**Post date:** [May 18, 2018, 1:06pm UTC](https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616/3 "2018-05-18T13:06:45Z")

</div>

I updated the host file about a week ago. I've done several reboots since then. It doesn't show the hostname for any of them.

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [May 18, 2018, 9:58pm UTC](https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616/4 "2018-05-18T21:58:24Z")

</div>

We only store IP addresses in the database. We don't map hostnames to IP addresses as it is not clear if the device seen 3/4 year ago ending in .5 is the same host that it is now

---

<div class="post-metadata">

**Author:** ![jpgpi250](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jpgpi250/32/286_2.png) [@jpgpi250](https://discourse.pi-hole.net/u/jpgpi250)\
**Post date:** [May 19, 2018, 7:31am UTC](https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616/5 "2018-05-19T07:31:27Z")

</div>

[Here](https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378) is what I did to get this solved. In the first entry of the topic, search for ' **Q: Why so many local requests?**'.

It works, without adding any other stuff, mentioned in this topic.

Don't forget to restart dnsmasq ( **sudo service dnsmasq restart** ) after you made the changes.

---

<div class="post-metadata">

**Author:** ![mentioneddiagonal](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@mentioneddiagonal](https://discourse.pi-hole.net/u/mentioneddiagonal)\
**Post date:** [May 22, 2018, 2:03pm UTC](https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616/6 "2018-05-22T14:03:06Z")

</div>

I will take a look at this soon. Thank you for pointing this out.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [June 12, 2018, 2:10pm UTC](https://discourse.pi-hole.net/t/top-list-showing-ip-vs-hostname/9616/7 "2018-06-12T14:10:15Z")

</div>

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