# What is the CORRECT way to get local hostname resolution without pihole as DHCP?

**URL:** https://discourse.pi-hole.net/t/what-is-the-correct-way-to-get-local-hostname-resolution-without-pihole-as-dhcp/11775
**Category:** General
**Created:** [August 11, 2018, 11:25pm UTC](https://discourse.pi-hole.net/t/what-is-the-correct-way-to-get-local-hostname-resolution-without-pihole-as-dhcp/11775 "2018-08-11T23:25:20Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![yochaigal](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yochaigal/32/2477_2.png) [@yochaigal](https://discourse.pi-hole.net/u/yochaigal)
#### Post date: [August 29, 2018, 11:58pm UTC](https://discourse.pi-hole.net/t/what-is-the-correct-way-to-get-local-hostname-resolution-without-pihole-as-dhcp/11775/7 "2018-08-29T23:58:45Z")

</div>

Hey guys. I was gone for a while; returned and saw that although any device with the .local suffix is browsable from my laptop, pi.hole still does not resolve! The /etc/hosts file on the pi-hole looks like:

127.0.0.1 localhost  
::1 localhost ip6-localhost ip6-loopback  
ff02::1 ip6-allnodes  
ff02::2 ip6-allrouters  
127.0.1.1 pi.hole  
192.168.2.50 yochai-server  
192.168.2.60 pi.hole

As you can see, the custom entries are at the bottom (I even appended the static IP of the device, though I don't think it's needed). My server is pingale with the .local suffix, but alas, nothing at pi.hole.

Very frustrating when I want to modify the web UI (though I can obviously still use the IP).

---

_[View the full topic](https://discourse.pi-hole.net/t/what-is-the-correct-way-to-get-local-hostname-resolution-without-pihole-as-dhcp/11775)._
