I’m trying to install Unbound and Pihole on a separate computer connected directly to my router. I want to route all my DNS requests to this device. For Unbound to work properly I need to set my DNS name server to Unbound but I can’t seem to figure out where to do it at (I’ve tried a few diffident places but none of them seem to take).
Can anyone tell me where to set a custom DNS server at for Unbound?
Also, will having DNSmasq enabled on my router cause any issues with this Unbound setup?
The Pihole is set up as is Unbound. I just need to configure the router so my dns requests go to my computer running those programs.
I’m on the next to last step of this official guide from DietPi https://dietpi.com/blog/?p=564 that recommends doing both simultaneously. Pihole forwards all its traffic to an upstream DNS provider and I’m trying to manually configure Unbound as that DNS providers since Unbound routes requests directly to the authoritative server
The PiHole is (or was) running fine when I logged in to it. The problem is once I go to install Unbound again I’ll still need to change my DNS server and I can’t find out how to do it on OpenWRT
I even have how to do it on all the other major routers I just can’t find how to do it on OpenWRT
Maybe it makes sense to install Unbound on my router since there’s software in OpenWRT for it and then let Pihole run on the separate computer by itself?
Setting DHCP option 6 is the correct thing to do. You just need to set it to the correct IP of your DNS server, where your Unbound and Pi-hole are running.
After you set up your Pi-hole as described in this guide, this procedure changes notably:
***> *** > 1. Your client asks the Pi-hole Who is pi-hole.net? > 2. Your Pi-hole will check its cache and reply if the answer is already known. > 3. Your Pi-hole will check the blocking lists and reply if the domain is blocked.
4. Since neither 2. nor 3. is true in our example, the Pi-hole delegates the request to the (local) recursive DNS resolver.
I'm not sure how you got here but first you need to understand pi-hole and setting it up to use unbound.