No Internet access when Pihole set as sole DNS

After configuring my Zero 2 W with PiHole and setting up SSH, I noticed ads were not being blocked. I determined this was because the Pi was not set as the sole DNS. I had to call Spectrum support to have them set only one DNS because their equipment forces me to have a backup, which means ads will come through when initially blocked. I have looked through several posts but none seem to apply to specifically what is going wrong with my setup it seems.

  • RPi Debian lite 64 bit
  • RPi Zero 2 W
  • update && full-upgrade run
  • Using Spectrum default equipment (US)
  • Configured as the sole DNS on network
  • Static IP assigned
  • Upstream DNS set to Cloudflare (DNSSEC) IPv4
  • Interface set to allow only local requests
  • nslookup pi.hole: server can’t find pi.hole: NXDOMAIN

Expected Behavior:

Ads and trackers are blocked with internet connectivity unaffected.

Actual Behavior:

Unable to access the internet via ethernet or Wi-Fi. Email still works though. I also noticed that the admin panel only works when using the local IP, but not when using pi.hole/admin (DNS_PROBE_POSSIBLE). Connectivity problems occur on linux, windows, and mobile devices. The issue clears when setting a secondary DNS, so I have some idea of where the problem is, but not how to resolve it. I am new to networking and pihole configuration. Any help is appreciated!

Debug Token:

https://tricorder.pi-hole.net/iUFEdUFw/ (Taken after setting secondary DNS, can provide another if needed)

UPDATE:

I partially fixed the problem after some trial and error. The first issue was the UFW setup on the pihole, port 53 was not enabled, after enabling port 53 I had internet access on ethernet connected Linux desktop, but not via Wi-Fi for Windows or mobile devices. I am also still seeing ads when testing on a private firefox browser on youtube. I have the pihole set as the sole DNS server now, but I am unable to upload the debug log with the following error: Could not resolve host: tricorder.pi-hole.net Is there a way for me to provide the local log securely?

Edit: Changed the nameserver settings to use cloudflare (1.1.1.1) in resolv.conf and could run pihole -d with a successful upload: https://tricorder.pi-hole.net/8SkOlvYG/

Edit 2: Fixed the issue by using my spare router with some config, now I am having trouble with getting the devices on my network to actually use the pihole only for DNS queries. I have configured DHCP on the pihole and disabled it on the router with no luck. nslookup on Linux/windows ethernet/WiFi all show device specific DNS and not the pihole. New -d: https://tricorder.pi-hole.net/0fGdjnO0/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.