# How to get hostnames to show up in web interface?

**URL:** <https://discourse.pi-hole.net/t/how-to-get-hostnames-to-show-up-in-web-interface/19855>\
**Category:** Help\
**Created:** [May 13, 2019, 5:53am UTC](https://discourse.pi-hole.net/t/how-to-get-hostnames-to-show-up-in-web-interface/19855 "2019-05-13T05:53:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diameter](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/d/c4cdca/32.png) [@diameter](https://discourse.pi-hole.net/u/diameter)\
**Post date:** [May 13, 2019, 5:53am UTC](https://discourse.pi-hole.net/t/how-to-get-hostnames-to-show-up-in-web-interface/19855/1 "2019-05-13T05:53:08Z")

</div>

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

## Expected Behaviour:

I am using my router DHCP and trying to get hostnames to show up in web interface. If no hostnames, then at least IP address. I only get router IP. No other device IP's or host names show up. I have edited the /etc/hosts file to add the IP like this:  
192.168.x.x. TV  
and still I do not see IP or host name in the dashboard. It only shows the router IP. The router IP updates with new queries rather than other IP address's showing up.

## Actual Behaviour:

No device IP's or host names show up in dashboard. Only router shows up. And the graphs in the dashboard are displaying nothing.

## Debug Token:

hum01u5ifr!

---

<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 13, 2019, 6:09am UTC](https://discourse.pi-hole.net/t/how-to-get-hostnames-to-show-up-in-web-interface/19855/2 "2019-05-13T06:09:26Z")

</div>

> [@diameter](#):
>
> It only shows the router IP.

This means your routers tells the client via DHCP that it itself is the DNS server. It hence receives all queries and forwards them to your Pi-hole. This, in turn, replies to the router (because this is the device that asked the Pi-hole) which then sends the reply back to your devices.

Unfortunately, when routers do it this way, there is no chance to get the individual IPs on the Pi-hole as this information is not available if the router is acting as a proxy.

Check if you can set the Pi-hole's IP address in your router's **DHCP** setting rather than the **DNS** settings. If this is not possible, then you have to switch to Pi-hole's internal DHCP server to be able to achieve what you want.

---

<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 3, 2019, 6:09am UTC](https://discourse.pi-hole.net/t/how-to-get-hostnames-to-show-up-in-web-interface/19855/3 "2019-06-03T06:09:27Z")

</div>

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