Pi-hole not doing stopping ads/access to blacklisted sites

Hi, I'm a complete n00b to Pi-hole.

I followed the guide on LTT to install it (https://linustechtips.com/topic/1094810-pi-hole-setup-tutorial/) and everything went well, no errors, and can access the Pi-hole admin panel via the Pi's IP address.

I've set a static IP address for the Pi in my router.

I've also set the primary DNS of my router to the IP of the Pi.

Whenever I log into the Pi-hole dashboard and look at the Top Clients section at the bottom it shows the connected devices (my phone, my laptop, my router, and my Pi).

It shows that there have been 480 queries, 29 queries blocked, 6.0% blocked, 60,887 Domains on Blocklist.

I'm still getting ads on all devices. I added a website to the blacklist, but can still access it despite Pi-hole adding it successfully.

My router is provided by my broadband provider (Vodafone UK) so don't know exactly the model number.

Router and Pi have both been rebooted since setup, but still nothing

I've uploaded a Debug Log here https://tricorder.pi-hole.net/gmt9dib00o

Where am I going wrong?

I guess you talking about your router's upstream DNS server? Primary suggests there might be a secondary DNS server? If so, add Pi-hole there as well. If two DNS servers are offered the clients will by (at least partially) bypass Pi-hole.

You might want to offer Pi-hole's IP as DNS server via DHCP as well. So far, your router offers its IP as DNS server.


Received 309 bytes from eth0:192.168.1.1
     Offered IP address: 192.168.1.20
     Server IP address: 192.168.1.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.1.1
      lease-time: 120 ( 2m )
      renewal-time: 60 ( 1m )
      rebinding-time: 105 ( 1m 45s )
      netmask: 255.255.255.0
      broadcast: 192.168.1.255
      router: 192.168.1.1
      dns-server: 192.168.1.1
      domain-name: "broadband"
      ntp-server: 192.168.1.1

There are two options on the router's manual DNS server (primary and secondary), but it won't let me put the same DNS in both fields.

Or is it something else, because to be honest, I can't make out where the DNS is being shown in the log that you've quoted.

My router is a generic piece of kit provided by my ISP. I did post in my ISP's forum as well and someone suggested that I disable DHCP on my router and use Pi-hole's DHCP; which I've done. I can see Pi-hole is handling DHCP leases for two of the four devices connected, but the blacklisted domain and ads are carrying on about their business as usual


That's bad. So you should go with

Did you re-connect the other two devices from the network yet? They will pick-up the new DHCP info only after their current lease expired or a network reconnection was foreced.

Please generate a new debug log.

It's working now on devices that weren't connected to the network at the time I set it up.

My laptop won't work until September, because I ha e an anti-gambling service installed that controls its DNS and I'm tied in for a year. But that's no drama.

I've disconnected and reconnected my phone, deleted the network info and reconnected, restarted it, actually turned it off and then on again; but to no avail

What does not work?

Is it using Pi-hole as DNS server? Do you see queries from your phone in your query log? Does it show up in Tools/Network?

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