Please follow the below template, it will help us to help you!
Expected Behaviour:
System wide traffic requests resolve through pi-hole.
Setup is:
Modem: Arris
Router: Eero Pro 6 + Eero 6 Extender - providing DHCP (v6.6.1)
Switch: TP-Link 8 Port Gigabit
Pi: Butter, fully updated - using Lighttpd
Homebridge, fully updated
Strongswan, fully updated
Actual Behaviour:
I have been researching for the last few days and have read through a number variations of this issue that I can find. I have pihole running on an rpi at 192.168.0.40. It also has an install of Homebridge & Strongswan installed as well. I have started with several clients manually set to resolve through it. DHCP addresses are doled out from the eero router, then the clients resolve via pihole. Works exactly as it should.
After testing at the client level, I decided to try pihole network wide. I set a single ipv4 dns entry at the router via the Eero app. Initially it worked for about 15 minutes. Then suddenly nothing resolves for any client - the internet dies. If I set the Eero back to use say 1.1.1.2 DNS, the manual DNS server assignments will work again.
My pi-hole set up:
- router: eero pro 6 @ 192.168.0.1, primary dns set to 192.168.0.40, no secondary dns set, ipv6 off
- pihole: rpi running a light version of raspbian @ 192.168.0.40. Blocklists, gravity is up to date, ipv6 is off for eth0
- rpi's resolv.conf: nameserver 192.168.0.1
I have tried all sorts of things like adding and removing dns entries on pi-hole (127.0.0.1# & 1.1.1.2, 1.0.0.2 and others). After hours of trying things, I tried pihole -r which is what got it working network wide for about 15 minutes. Then promptly stopped and the Eero hit a red light situation.
At this point, I generated a debug token after resetting the DNS at the router to the known good configuration. For the life of me, I can not figure out why it was working for a brief time and then stopped. Or why it works on a per device basis.
I have turned of HomeKit secure in the HomeKit app - as that was suggested elsewhere. That does not seem to have changed anything.
Eero does not have local DNS caching on. Optimize for gaming is not on. WPA3 is not on due to two old devices on the network. Eero secure is not on.
I can log into the pi-hole GUI via a webbrowser as well.
Output of nslookup pi.hole (when device direct connected) is:
Server: 192.168.0.40
Address: 192.168.0.40#53
Name: pi.hole
Address: 192.168.0.40
When not directly connected is:
Server: 192.168.0.1
Address: 192.168.0.1#53
** server can't find pi.hole: NXDOMAIN
Output of nslookup pi.hole 192.168.0.40 (when not directly connected) is:
Server: 192.168.0.40
Address: 192.168.0.40#53
Name: pi.hole
Address: 192.168.0.40
Output of nslookup pi-hole.net (when device direct connected) is:
Server: 192.168.0.40
Address: 192.168.0.40#53
Non-authoritative answer:
Name: pi-hole.net
Address: 3.18.136.52
Output of nslookup pi-hole.net (when device not directly connected) is:
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
Name: pi-hole.net
Address: 3.18.136.52
Output of scutil —dns is (when device not direct connected):
DNS configuration
resolver #1
nameserver[0] : 192.168.0.1
if_index : 5 (en1)
flags : Request A records
reach : 0x00020002 (Reachable,Directly Reachable Address)
resolver #2
domain : local
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300000
resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300200
resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300400
resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300600
resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300800
resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 301000
DNS configuration (for scoped queries)
resolver #1
nameserver[0] : 192.168.0.1
if_index : 5 (en1)
flags : Scoped, Request A records
reach : 0x00020002 (Reachable,Directly Reachable Address)
Output of scutil —dns is (when device directly connected):
DNS configuration
resolver #1
nameserver[0] : 192.168.0.40
flags : Request A records
reach : 0x00020002 (Reachable,Directly Reachable Address)
resolver #2
domain : local
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300000
resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300200
resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300400
resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300600
resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300800
resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 301000
DNS configuration (for scoped queries)
resolver #1
nameserver[0] : 192.168.0.40
if_index : 5 (en1)
flags : Scoped, Request A records
reach : 0x00020002 (Reachable,Directly Reachable Address)
Both Homebridge and strongswan are working fine as well.
Any help or advice would be appreciated!
Debug Token:
kOY1kY9u