Hey all. I've installed pi-hole on a raspberry pi. I've done this before without issue. This time, after installing my pi-hole isn't blocking anything. In UI i show over 2 million domains in the blocklist and I'm showing total queries though nothing for blocked queries. I've attempted visiting domains that are blocked and I get through.
The raspberry pi has a static IP. The only dns server i have set in my router is the static ip. This should be working. But it isn't.
Oddly enough as i was writing this, I noticed that pi-hole has blocked 2 queries. Strange it hasn't blocked anything else for over an hour up until now. Yet I can still get to websites that are specifically blocked in my blocklists.
I must have done something wrong. Hopefully some of you can point me in the right direction.
One of the main reasons I want to use pi-hole is to block adult sites. I've added the lists from Wally 3k. If i pick one of the domains in the list I still get through. As a test I specifically blacklisted www.google.com and that still works.
Previously when i set up pi-hole these lists definitely stopped anyone from accessing these sites.
Thanks for helping me with this. I really appreciate it.
What is an exact domain that you are able to access, and have you checked that this domain is actually being blocked by Pi-Hole? For the domain that you provide (let's assume badporn.com for this example, substitute your own), run the following command from the Pi terminal to see if it is blocked and if so, by which blacklist.
pihole -q -adlist badporn.com
Also note that www.badporn.com is a different domain than badporn.com, so if only one is on the blacklist, the other will not be blocked.
When you load the Forbes site, are you seeing matching entries in the pihole.log? Tail the log with pihole -t while you load the site again and see if there is a burst of activity in the log.
I missed this detail. From the server IP, it appears that this command was run from the Pi, and not from a client (or ssh'd into the Pi). Is that the case? I would expect the server IP to be the IP of the Pi-Hole if the command were run from a client.
This shows that the Mac is not using Pi-Hole as DNS server. Go to system preferences > Network > Advanced > DNS and you can manually set your DNS to Pi-Hole. Manually add the DNS of Pi-Hole, delete the existing entries, then save and run the command again.
This looks to be a NordVPN DNS server. Are you running your Mac through a VPN currently? If so, most VPNs route their DNS traffic through their own DNS servers and override your DNS settings while on the VPN.