Hello,
I'm currently using PiHole on a raspberry pi model 3B+ for my DNS filtering/resolving needs and I set its LAN IP address in the WAN DNS page of the router. All works good for some days but then the router randomly stops resolving addresses. The solution is then to either restart the router or set/reset the WAN DNS. My router is a AC88U running the latest merlin firmware. Any ideas why this is happening?
Thanks in advance.
Here is my pihole configuration steps....
Lets start out with the router settings.......
LAN>DHCP SERVER page
Note Domain name is listed as Some-Network,
and in this scenario I have Pi-hole static ip configured to be 192.168.1.14 which resides outside of my Routers DHCP servers addressing pool, and I have it configured to the DHCP static lease list. I also have 192.168.1.13 listed as well which is the piholes wireless client that I am using for a different purpose.
NOTE I also advertise 192.168.1.1 for some local clients that require it, but you DO NOT have to have this turned on, it just works better for me..
DNS FILTERING RULES
FOR DNS ON PIHOLE
if you are forwarding to use DNS over TLS from the router the custom upstream DNS is what you could use.
or you can just pick any Upstream DNS server on the list * and you can stop worring about DNS at this point, but if you are Using router DNS instead you will need to use the ipv4 lan gateway address (192.168.1.1) and /or ipv6 lan address.
One last step
Remember on DHCP SERVER we have Some-Network as domain name. this could be any name you decide, but that same name needs to be used here with conditional forwarding turned on.
ALL these steps are for if you still want to use router for DHCP...
You will have the DHCP page on your PI-hole turned off
Let it be known with this setup your WAN settings should be left default and left alone, unless you are planning to add DoT servers.
Edited with more details***