When pointing a Win10 PC @ Pi Hole i get page cannot be displayed on all external sites - e.g. google.com
When reverting back to my router 192.168.1.1 (routers DNS set to primary 192.168.1.97 (pi hole) and secondary 8.8.8.8) external sites resolve but this is not going via the pi-hole (if i remove 8.8.8.8 i can no longer resolve)
Pi-Hole is running on a Hyper-V machine with Debian - installed on my Windows 2012 R2 server
I can ping my pi-hole from server/other machines & visa versa.
It does not appear that Pi-Hole is receiving DNS queries from any client other then the host platform:
[2019-08-14 10:51:25.549 1977] Imported 45 queries from the long-term database
[2019-08-14 10:51:25.549 1977] -> Total DNS queries: 45
[2019-08-14 10:51:25.549 1977] -> Cached DNS queries: 15
[2019-08-14 10:51:25.549 1977] -> Forwarded DNS queries: 30
[2019-08-14 10:51:25.549 1977] -> Exactly blocked DNS queries: 0
[2019-08-14 10:51:25.549 1977] -> Unknown DNS queries: 0
[2019-08-14 10:51:25.549 1977] -> Unique domains: 13
[2019-08-14 10:51:25.549 1977] -> Unique clients: 1
[2019-08-14 10:51:25.549 1977] -> Known forward destinations: 2
But, when tested, Pi-Hole is resolving DNS queries:
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] ad134.ezcybersearch.com is 0.0.0.0 via localhost (127.0.0.1)
[✓] ad134.ezcybersearch.com is 0.0.0.0 via Pi-hole (192.168.1.97)
[✓] doubleclick.com is 216.58.210.206 via a remote, public DNS server (8.8.8.8)
I would manually map a client to DNS and see if that client traffic goes through Pi-Hole. That bypasses DHCP settings.
Thanks for the update - i did manually set the ip config of my windows PC to be 192.168.1.97 (just now)
and removed the entry 8.8.8.8 on the router - i was unable to browse the web like this but did see the traffic going through to the pihole
This seems odd. If the DNS traffic was received by Pi-Hole and an IP was returned, then the browser should have connected. What is shown in the pihole.log for these transactions: /var/log/pihole.log
Thanks for the help - though this did not work i found another solution.
Setting the pi-hole as the DHCP server seems to have resolved my issues - i can now see in the pi-hole logs that it is dealing with the requests and blocking domains such as doubleclick.net.