Dashboard shows zero results, all clients use pihole for DNS

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

Expected Behaviour:

The dashboard should show top clients, queries, etc

Actual Behaviour:

All the dashboard dials are at zero except "Domains on Blocklist". Pihole is running DHCP server, all clients resolve an IP from pihole with correct DNS, ads are blocked on all devices as they should be. There is just no log of how much the pihole is blocking.

Debug Token:

t01uoak541

What's the output when you run

echo ">stats" | nc 127.0.0.1 4711

on your Pi-hole?

pi@raspberrypi:~ $ echo ">stats" | nc 127.0.0.1 4711
domains_being_blocked 125586
dns_queries_today 0
ads_blocked_today 0
ads_percentage_today 0.000000
unique_domains 0
queries_forwarded 0
queries_cached 0
clients_ever_seen 0
unique_clients 0
status enabled
---EOM---

Is that good?

That looks good. It also looks like no DNS queries were processed.

How do you use the Pi-hole DNS? Did you manually specify the Pi-hole IP as your DNS server on your clients or do you use Pi-hole as your DHCP server?

What's the output of

nslookup flurry.com and then the same echo ">stats" | nc 127.0.0.1 4711 ?

1 Like

There aren't any queries in the log since 12am this morning. Try restarting dnsmasq:

sudo service dnsmasq restart

Pihole runs DHCP. I have a standard network set up, except that I am running meraki switch and AP. They are set to work as basic L2 devices with no fancy features enabled, but I cant help but think they are blocking something.

pi@raspberrypi:~ $ nslookup flurry.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: flurry.com
Address: 192.168.20.253

pi@raspberrypi:~ $ echo ">stats" | nc 127.0.0.1 4711
domains_being_blocked 125586
dns_queries_today 0
ads_blocked_today 0
ads_percentage_today 0.000000
unique_domains 0
queries_forwarded 0
queries_cached 0
clients_ever_seen 0
unique_clients 0
status enabled
---EOM---

Ran the command, no change in logs. When I go to Block Ads! Adblock test it tells me ads are blocked.

Make a new debug token.

Your debug token is: yn2ig3od1n

Your dnsmasq config file does not have the correct settings for FTL to be able to read the log.

Run pihole -r to repair and it should fix it.

Thanks, that worked after a fashion.

I ran pihole -r for no effect, then I ran apt-get update and apt-get upgrade, then pihole -r again. My counters started changing straight away.

Thanks again!

2 Likes

A post was split to a new topic: Dnsmasq.service not starting

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