Windows 10 Pro
USG as router
RPI 4 running fresh install of latest Raspian
Have Ubiquiti USG3 with WAN DNS set to 192.168.0.165 which is a dedicated RPI4 running latest raspian buster with all updates
In your above description, I think you may have mixed up expected and actual behaviour?
Could you provide the output for the following command, run from your RPi 4:
pihole-FTL dhcp-discover
There are several explanations why a blocked domain like flurry.com would still resolve in spite of Pi-hole:
a) A client isn't using Pi-hole for DNS
(from your nslookups, that's not applicable in your case)
b) A client is exempted from filtering via Pi-hole's Group Management
(n.a. for you - from your debug log, you are not using Pi-hole's client-based filtering)
c) A client is using a browser with DoH enabled
(n.a. as that would apply to a browser only and wouldn't affect nslookup, but still worth to verify)
d) A client is using an anti-virus feature like AVG Secure DNS or AVAST Real-Site
f) Your router is intercepting and redirecting DNS traffic in your network to a public DNS server
While only you can check for d), you may run the following command from a client in your network to verify f):
(You can format command output by highlighting some text and selecting the</> Preformatted text option from the menu. I have edited your post accordingly.)
I believe I have it working now. Not sure what exactly made it start working, but I had just changed the settings for Use Conditional Forwarding as suggested in another thread, and pointed it to
Local network in [CIDR notation] 192.168.0.0/24
IP address of your DHCP server (router) 192.168.0.1
Thanks for your help. If you have any further questions or suggestions I am happy to reply and try.
You should be wary about this.
If you didn't change your router's DHCP settings yourself just now, that would imply that your router is changing DHCP all by itself.
That would be a serious flaw of your router's DHCP software.