You coud disable the router's DHCP server (that is a default, standard option available in all routers) and enable the DHCP server in the admin interface (of Pi-hole). That will ensure that all clients connecting to the network, LAN or WiFi will all get the Pi-hole IP as the DNS server.
Do you mean disabling the first 2 settings in the screenshot?[Router Advertisement-Service & DHCPv6-Service] Then enable Enable IPv6 support (SLAAC + RA) ?
Hi there, may be a stupid question, but if I activate Pihole DHCP server AND disable Router DHCP (because I am not allowed to change DNS on ISP router), then my Pihole server cannot restart (or at least is not accessible from network).
I guess I need first to assign static IP address to Pihole machine ? IS that correct ?
My Pihole runs on raspberry 4 (raspbian) side by side with volumio. What is the simplest way to achieve that ?
Thank you.
The problem is that my pihole instance is hosted by Linode and is not local, my router wouldn't be able to locate it automatically. How would I go about doing this with an external server?
DHCP uses broadcast addresses, it only works on the segment that Pi-hole is connected to directly. A router in between Pi-hole and the client breaks the broadcast domain and you'd have to use something like a DHCP helper or relay on the router to connect the segments.
A DHCP server located across a WAN link is a really bad idea.
I have DHCP enabled on the raspberry pi running pi-hole in docker. Everything seems to be working correctly, though I do not have the router DNS server pointed at the raspberry pi.
So, to confirm, do I need to set the router DNS address to the raspberry pi IP address when pi-hole is running as the DHCP server?
Pi-hole is working great! I just wanted to confirm that if using the Pi-hole for DHCP, I do not also need to configure the DNS server on my router. I asked because I don't know where the 'router responsibility' stops and the 'pi-hole responsibility' starts (devices 'physically' connect to the router but then the pi-hole does everything else?).
I didn't see it stated explicitly in the docs that if the Pi-hole DHCP service is enabled, then the Pi-hole is also acting as the server DNS automatically, and the DNS configuration on the router is not needed.
Hopefully this response here can help someone else with the same question. Thanks Dan!