Pi-hole not blocking ads/DNS not working


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

Expected Behaviour:

After setting a single client manually, or the DNS setting on the router, DNS will resolve and ads will be blocked.

Actual Behaviour:

Either DNS will not work at all and no site can be reached, or sites load with ads.
This is a fresh install of Raspbian and Pi-hole after a bad SD card. When I test on one machine (Windows) by manually setting the DNS server, it will either load pages with ads or not resolve IP at all. I have updated Pi-hole, rebuilt gravity, and rebooted it several times all to no avail.

Debug Token:




You have a setup problem. Your Pi-Hole is setup to listen at IP 20, but there is no IP address assigned on the ethernet interface where you have Pi-Hole listening.

Check your router and ensure the Pi is connected and with a static or reserved IP address. Note that address, then run pihole -r and select “reconfigure” to assign Pi-Hole to listen on that interface and IP address.

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

[i] Default IPv4 gateway:
   * Pinging
[✗] 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
[✓] bogeyandbirdie.com is via localhost (
[✗] Failed to resolve bogeyandbirdie.com via Pi-hole (

*** [ DIAGNOSING ]: Setup variables


Fixed! Thank you sir!


closed #4

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