# Pi-hole's host machine can't resolve local domains

**URL:** <https://discourse.pi-hole.net/t/pi-holes-host-machine-cant-resolve-local-domains/48008>\
**Category:** Community Help\
**Created:** [July 3, 2021, 4:44pm UTC](https://discourse.pi-hole.net/t/pi-holes-host-machine-cant-resolve-local-domains/48008 "2021-07-03T16:44:34Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![LordOfTheSnow](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/l/e47774/32.png) [@LordOfTheSnow](https://discourse.pi-hole.net/u/LordOfTheSnow)\
**Post date:** [July 4, 2021, 6:16am UTC](https://discourse.pi-hole.net/t/pi-holes-host-machine-cant-resolve-local-domains/48008/10 "2021-07-04T06:16:27Z")

</div>

Unfortunately the solution with 127.0.0.1 only works if I ping or nslookup the router:

```auto
pi@raspberrypi4:~ $ nslookup fritz.box
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: fritz.box
Address: 192.168.178.1
Name: fritz.box
Address: fd00::9a9b:cbff:feb6:5d61
Name: fritz.box
Address: 2a04:xxxx:xxxx:xxxx:xxxx:cbff:feb6:5d61

```

Whenever I ping/nslookup anything else, I get this:

```auto
pi@raspberrypi4:~ $ nslookup Philips-Hue-Br2
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
*** Can't find Philips-Hue-Br2: No answer

```

This is how it is in /etc/dhcpd.conf:

```auto
interface eth0
        static ip_address=192.168.178.5/24
        static routers=192.168.178.1
        static domain_name_servers=127.0.0.1

```

> If correctly installed, `127.0.0.1` should also work:

Yep... if... but since I did a fresh install, just Raspberry Pi OS and Pi-hole I do not understand why it just doesn't work out of the box. ☹

---

_[View the full topic](https://discourse.pi-hole.net/t/pi-holes-host-machine-cant-resolve-local-domains/48008)._
