My goal is to resolve local machines by their hostnames. I configured “conditional forwarding” in pihole as well so it matches whatever domain name is in erx.
I’m facing a weird issue. I configured the “Domain” field in the dhcp config in erx to be “home.lan” and pihole (running on a rpi) resolves it to a public IP (26.x.x.x - akamaitechnologies.com). Any idea what’s that about? I’m confused.
Hosts aren’t able to resolve other hosts, so it did not work.
This is on a Windows machine where “nest” is mapped staticly in ERX.
C:\>nslookup Default Server: pi-unifi Address: 192.168.1.200 > nest Server: pi-unifi Address: 192.168.1.200 *** No internal type for both IPv4 and IPv6 Addresses (A+AAAA) records available for nest > nest.home.lan Server: pi-unifi Address: 192.168.1.200 *** pi-unifi can't find nest.home.lan: Non-existent domain > home.lan Server: pi-unifi Address: 192.168.1.200 Non-authoritative answer: Name: home.lan Addresses: 126.96.36.199 188.8.131.52