Pi-hole is running but 0 clients, 0 queries blocked and 0.0% blocked

I installed everything properly, but my Pi-Hole doesn't work as it is designed to.

Expected Behaviour: Pi-Hole should block adds and connect to clients.

Actual Behaviour: Pi-Hole is running but 0 clients, 0 queries blocked and 0.0% blocked.

Debug Token: https://tricorder.pi-hole.net/8hk5wa2lfx

Your Pi-hole host has no connectivity, and thus no clients can connect to it:

*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the eth0 interface.

[✗] No IPv6 address(es) found on the eth0 interface.

[i] Default IPv4 gateway: 192.168.8.1
   * Pinging 192.168.8.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)
 
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] counter.kingsoft.com is 0.0.0.0 via localhost (127.0.0.1)
[✗] Failed to resolve counter.kingsoft.com via Pi-hole (192.168.8.12)

It's connected via Wi-Fi. Or what else this problem mean? I'm kinda new to this stuff.

You have Pi-hole configured for the ethernet connection. Run pihole -r and select "reconfigure." Select the active WLAN interface and IP during the ensuing dialogs. This will match Pi-hole to the active network port.

1 Like

I changed it and this is now my debug token: https://tricorder.pi-hole.net/rvt3tp0tju
I went to "Network" and I saw that my router or any other device aren't using my pi-hole.

You still have a mismatch between the network connection and Pi-hole:

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wlan0 interface:
   192.168.8.102/24 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)

*** [ DIAGNOSING ]: Setup variables
    ...
    PIHOLE_INTERFACE=wlan0
    IPV4_ADDRESS=192.168.8.12
1 Like

The guide said that I should leave the address as it is. However, it differs from my router's DHCP IP for Raspberry Pi. What should I exactly do now? Should I go to "pihole -r", select "reconfigure" and change "IP address" to match it with the router one and leave the gateway as it is?

Configure Pi-hole to use the active IP and interface on the Pi. You can confirm this address with the command

ip addr

https://tricorder.pi-hole.net/aiwmcisdbt
I rushed too early and did something with OS and couldn't find even something similar. I decided to reinstall everything and I'm now in this place. It detects something but it is merely 3 queries. When I go to "Tools" and "Network" I see that my router's IP address doesn't use Pi-hole at all.

This debug log is normal and shows that Pi-hole is working properly. If clients are not using Pi-hole, that is likely a problem outside of Pi-hole.

From a client that you believe should be connected to the Pi-Hole for DNS, from the command prompt or terminal on that client (and not via ssh or Putty to the Pi), what is the output of

nslookup pi.hole

nslookup flurry.com 192.168.8.102

I don't exactly know where I should write it, but I have Huawei B818 router and I can't find static DNS in DHCP options to write the ip down as in the tutorial.

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