On my home network, I have a Raspberry Pi Zero with Pi-hole running on it successfully. On the router, I set the primary DNS server to the IP address of the Pi-hole. For other machines on the network, this works great. They connect to the router, receive configuration by DHCP, and receive the router address 192.168.178.1 as their DNS server. The router receives DNS requests from the clients, and passes them on to the Pi-hole. This is all good.
However, on the machine running Pi-hole, things don't work as well. This machine also receives its configuration from the router by DHCP, but for some reason, it ignores the DNS configuration, and uses localhost (127.0.0.1) for all DNS queries. This is bad, because it makes it difficult to contact other local machines from the Pi-hole machine. Sometimes ssh machine.fritz.box
works; other times ssh machine.local
works; other times I have to do ssh 192.168.178.43
.
My question: Can I set the Pi-hole machine to send all of its DNS requests to the router at 192.168.178.1, rather than sending them to localhost?
I know there are similar questions on the forum, but none seem to cover this exact question. I apologise if I have missed one that does.
Ben