PiHole isn't working at all

Please follow the below template, it will help us to help you!

Expected Behaviour:

Hoping it would be blocking ads. Running it on Raspbian Stretch and Pi's wired directly to my router, I set up my router to use only the Pi as its DNS since it's the only entry for DNS. DHCP is active on my router. My Pi is on a static IP.

Actual Behaviour:

If I turn off my adblocker, the ads show up. I did dnsleaktest and the Pi's still using Google. My router is a Netgear C3700-100NAS if that helps.

Debug Token:

https://tricorder.pi-hole.net/7khf96y6cu

you need to make sure that your devices are using the pi as its dns server. you want to set your dhcp server to hand out the pis ip as the dns servers. Setting the modem to the pi might not fix the issues since the dhcp server might be handing out a different dns server. check on one of the devices and see what its using as a dns server.

1 Like

It looks like your Pi-hole is functioning correctly:

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] bob953.web3000.com is 0.0.0.0 via localhost (127.0.0.1)
[✓] bob953.web3000.com is 0.0.0.0 via Pi-hole (192.168.0.228)
[✓] doubleclick.com is 172.217.12.174 via a remote, public DNS server (8.8.8.8)

But there doesn't seem to be any queries coming in to the Pi-hole from clients other than the server itself (127.0.0.1).

So I'll have to tell my devices "Use 192.168.0.228 as your DNS"?

Part of why I want to use PiHole is to watch YouTube on a smart television and skip advertisements altogether, and I don't believe I'd be able to get down into its nuts and bolts to do that.

I just set my computer to use PiHole as its DNS, in addition to setting my router to use PiHole as the DNS.

https://tricorder.pi-hole.net/vmhpv6mo7f

There are a couple of options. We added DHCP functionality to Pi-hole for these kinds of cases, so you can change the DHCP server from the router to the Pi-hole.

If you just set the router to forward all queries to the Pi-hole IP address then you lose the ability to see the individual clients and their statistics on the admin interface.

Another option that users have found is to configure the network with a firewall that forces all DNS queries on port 53 to use the PI-hole. The problem that some smart devices bring is that they have hard coded DNS servers in their firmware and no amount of configuration changes will modify that. Some TV's are set to use 8.8.8.8 or similar with no user side ability to change that, no matter if the DHCP server is the router or if it is Pi-hole. That's why you end up needing something stronger on the network to intercept the traffic and force it to the server of your choice.

If you go to the admin interface and select the tail log function you will see in real time what queries are being sent to the Pi-hole. If you browse sites on a client device and do not see that traffic displayed or you see no queries being answered or forwarded then the Pi-hole is not being used or being queried. Try tailing for a little bit and see if the Pi-hole is even being used by the clients.

I decided to use PiHole, rather than the router, for DHCP.. My personal computer is using PiHole for the DNS. Ads are still getting through.

https://tricorder.pi-hole.net/g6n59mewum

I'm new to this and not very adept with computers.

you might have to release the ip on the pc so it can get one from the pihole. if you open a command prompt on the pc and type ipconfig /all you can see what dns the computer is currently using.

Is the log tail showing any queries being directed to the Pi-hole?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.