Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx, apache2 or another reverse proxy, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
In brief:
When setting my routers DNS as the fixed IP of the Raspberry Pi running Pihole, I expect Pihole to function
- Pi OS
- Raspberry Pi 3B+
- Router SAC2V2S (spectrum) with limited adjustability with the MySpectrum app
Actual Behaviour:
When setting my routers DNS as the fixed IP of the Raspberry Pi running Pihole I get a no internet connection error on all network devices.
When setting a devices (an individual device or multiple devices) preferred DNS to the fixed IP of the raspberry Pi, it functions fine.
This limits my pi-hole use to devices that I set manually and does not allow me to run it network wide.
Debug Token:
https://tricorder.pi-hole.net/b3teCHxP/
Your debug log doesn't show issues with Pi-hole configuration.
Also, your title already describes a situation where Pi-hole is working correctly. The issue is probably on the router settings.
Where exactly did you set Pi-hole IP.
Most routers (but no all) have 2 places to set DNS servers.
-
WAN/Internet settings: this is where you set the DNS servers used by the router itself.
-
DHCP/LAN/Network settings: the servers set here will be advertised to all your clients and the clients will decide how to use them.
If you set Pi-hole DNS on the WAN settings, the router will be the only client on Pi-hole Dashboard.
We recommend to set Pi-hole IP on the DHCP settings of your router.
The name of the settings will change from router to router. Sometimes they are called "Network settings", sometimes "LAN", or other names. Not every router has this option. You need to search on your router.
Note:
You are using Unbound as Pi-hole upstream server.
During the tests, please change the upstream to 8.8.8.8, 1.1.1.1, or another public DNS server. This will guarantee that no Unbound issue is not interfering with the results.
Thank you for your quick response.
My ISP only allows me to manage the router with their mobile app and only has one "DNS server" settings in the "Advanced Settings" tab. It does not specify if it is WAN/Internet or DHCP/LAN/Network.
Supposing the only configurable one is the WAN, what workarounds can be done to get Pi-hole working?
It looks like you can only change the WAN settings.
Your debug log shows the router is advertising itself as DNS server:
dns-server: 192.168.1.1
router: 192.168.1.1
The output above would have shown Pi-hole IP, if the IP address had been configured in the DHCP settings.
IMPORTANT:
This restriction alone shouldn't cause the network issue.
Maybe your router doesn't allow to set an internal IP as WAN DNS server and this is causing the issue.
Did you try without Unbound?