Domains on Adlists” not increasing

The issue I am facing:
"Domains on Adlists" number is not increasing after Gravity updates or with Unbound

Details about my system:
RPi 3B+ running DietPi with docker running 2 containers:

  1. portainer
  2. Pi-hole + Unbound
    3* attempting to get Wireguard functioning

What I have changed since installing Pi-hole:
have dockerized the setup. was running pi-hole+unbound on bare metal before

Why do you expect that this number will increase? Blocklist maintainers frequently add or remove domains from their blocklists, or some may not update them very frequently.

It is not unusual for the number of domains on adlists to remain unchanged or even decrease.

1 Like

Thanks for the reply. I am a noobie to this so I apologize if i ask any silly questions.

I guess I was mistaken in thinking that unbound would be adding a new entry to this domain number every time it functions recursively. Could my unbound be set up improperly? I could post my docker compose file. I was trying to get pihole+unbound in a single container, and I think i got it set up right after a lot of fumbling.

I see some talk online about checking sites like ipleak while connected to see if public IP is there, and if public IP shows then you are running unbound correctly. this is the result I get.

I see pictures of pihole UI's with millions on their blocklists, i guess that is what has me confused. I am not sure if that is better or worse now, but I imagined it was a better thing. I realize now that this may not be the case.

Or is this all simply the benefit of unbound here, that pihole no longer needs to add domains to the adlists?

I've added whitelists to allow certain services and that has worked perfectly. Even blacklisting a smart TV. both of these were in the UI.

Pi-hole acts prior to unbound. If a domain is in your gravity list to be blocked, Pi-hole blocks the domain and returns 0.0.0.0 to the client.

If the domain is not blocked, Pi-hole checks its cache. If the entry is in cache, then that answer is returned to the client.

If the domain is not in cache or gravity, then Pi-hole sends the query to the upstream resolver to get the IP.

In your case, unbound is the upstream resolver, and it goes through the recursive process through the various levels of nameservers to get the IP, which it then returns to Pi-hole.

Nothing that unbound does in the recursive process is known by Pi-hole, so your gravity list is unchanged by any activities of unbound.

Your domains in gravity are populated from your subscibed adlists. Once a week (Sunday between 0300 andn 0500 your local time), Pi-hole fetches changed adlists from the internet and rebuilds gravity. This is how domains get added or subtracted from gravity.

There is a mistaken belief that more blocking is better. With huge numbers of domains being blocked comes an increasingly large number of domains that have to be whitelisted.

If you don't see ads, you likely don't need more domains in gravity.

2 Likes

You're awesome! Thank you so much for the help. all of that makes a lot of sense.

off to make more containers! and figure out why pihole isnt working over wireguard :smiley:

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