Pihole on RPi5 192.168.1.2. Setup went well, and added default block lists.
Then on 1st windows pc I set static IP, and the DNS was set to 192.168.1.2 in order to force DNS lookups to go thru the pihole.
It blocks ads and adult domains properly, and I see confirmation of the blocked entries inside the pihole web GUI. (Good)
However, now when I do windows PC2 and PC3 etc I did the same IP setup with static IP and the DNS was set to 192.168.1.2 but now the ads and adult sites and NOT blocked. Neither is there any trace of the IP or PC2 and PC3 in Pihole lookups or blocks.
Its as if the static DNS IP entries of these other 2 PCs is being ignored, or the DNS is cached or they are going around the pihole somehow.
These are things I tried:
- I ran ipconfig/flushdns a couple of times but no change.
- I also did nslookup just to see what default server IP is reported as DNS and it was 192.168.1.2 which is correct.
- I also ran NETSH winsock reset catalog, and NETSH int ipv4 reset reset.log and then a reboot.
- Also installed DNSQuerySniffer and noticed a bunch of lookups but i didnt find any clues there, or I dont really know what to look for that would suggest a problem.
- I did a dnsleaktest.com and it reports the DNS IP of my ISP or Cloudeflare, which I believe it is supposed to. I do have the pihole upstream dns server set to 1.1.1.3 and 1.0.0.3
What other ways are there to identify what is happening and why PC2 and PC3 are going around the pihole for DNS?