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 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
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.
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