I don't know what I'm doing wrong

I've recently tried to install Pi-hole to block the adds on all the devices in my house, but I'm unable to make it work. Everything seems to be installed correctly but no add is getting blocked and the dashboard shows that there are actually 0 queries blocked:

I guess it has to be an issue with how I need to configure the router. I've followed this guide and set my DHCP/DNS settings like this:

I've restarted the router and all the devices but it does not work. I'm a total disaster at everything related to networking so I don't know what I'm doing wrong or what else I need to do.

Debug Token:


You have 0 "Domains on Blocklist" so there is nothing to block.
What block/adlists are configured?

sqlite3 /etc/pihole/gravity.db 'SELECT address FROM adlist'

What does a gravity pull of the blocklists output?

pihole -g

The first commands returns nothing, and the second one is giving me this:

[i] Neutrino emissions detected...
[✗] Pulling blocklist source list into range
[i] No source list found, or it is empty

[i] Building tree...
[✗] Unable to build gravity tree in /etc/pihole/gravity.db_temp
Error: no such table: main.gravity
[i] Number of gravity domains: 0 (0 unique domains)
[i] Number of exact blacklisted domains: 0
[i] Number of regex blacklist filters: 0
[i] Number of exact whitelisted domains: 0
[i] Number of regex whitelist filters: 0
[✓] Flushing DNS cache
[✓] Cleaning up stray matter

[✓] DNS service is listening
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)

[✓] Pi-hole blocking is enabled

You seem to have lost the default list that comes with Pi-hole:

pi@ph5b:~ $ sqlite3 /etc/pihole/gravity.db 'SELECT address FROM adlist'

Any idea why?
Try add above URL in the adlist field at below location:


And update gravity (EDIT: maybe a gravity pull is initiated already when you save above):


Your solution seems to work. Now I can see that there are domains on the blocklist and there are some queries blocked:

The problem is that I don't see any difference in terms of adds. I've tested some websites and the adds are still there. I've also tested with this site and the blocked hosts are the same as before. Is there something else I need to do?

Cache is everywhere.
Try reboot a test client.


It seems to be working now, thanks for your help!

1 Like

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