Hello.
First of all thanks for this project . Secondly, I tried googling solution before creating possible duplicate post. Unfortunately I couldn't find working solution.
The problem: I can no longer access devices on my network with hostname and .lan
domain after installing pihole. For example jarvis-hub.local
works and translates to 192.168.1.3
but jarvis-hub.lan
no longer does. I can safely say it's caused by pihole because .lan
requests start working as soon as pihole is shutdown.
## pihole was shutdown at this moment
$ ping jarvis-hub.lan
PING jarvis-hub.lan (192.168.1.3) 56(84) bytes of data.
64 bytes from jarvis-hub.lan (192.168.1.3): icmp_seq=1 ttl=64 time=0.141 ms
64 bytes from jarvis-hub.lan (192.168.1.3): icmp_seq=2 ttl=64 time=0.078 ms
...
64 bytes from jarvis-hub.lan (192.168.1.3): icmp_seq=48 ttl=64 time=0.074 ms
64 bytes from jarvis-hub.lan (192.168.1.3): icmp_seq=49 ttl=64 time=0.093 ms
### this is when pihole booted up
64 bytes from 192.168.1.3 (192.168.1.3): icmp_seq=50 ttl=64 time=0.073 ms
64 bytes from 192.168.1.3 (192.168.1.3): icmp_seq=51 ttl=64 time=0.075 ms
^C
$ ping jarvis-hub.lan
ping: jarvis-hub.lan: Name or service not known
I tried unchecking Never forward non-FQDN A and AAAA queries
and Never forward reverse lookups for private IP ranges
but to no avail.
I run pihole on a freshly installed latest raspberry os, on a dedicated raspberry, with no further configuration, nor services running alongside the pihole. It's one of two devices that I've manually assigned IPs in my routers DHCP table.
I don't want to use pihole as DHCP, nor can I settle for using .local
for obvious reasons. Is it possible to configure it to make .lan
work again, dynamically without hardcoding my devices in some hosts file or table? I often deploy new home-automation related esp32s to my network and need an unobstructed access to them.
Thanks