Ads and blacklist no being blocked since v5.0 in "No Statistics" mode

I have a similar problem.

The fourth version of pi-hole worked great.
After upgrading to the fifth version, it stopped blocking anything at all.

The network configuration has not changed. DNS requests definitely go through pi-hole, but it can resolve domains from the blacklist as if they are not there...

For example: r.mradx.net

# nslookup r.mradx.net
Server:    192.168.1.33
Address 1: 192.168.1.33 pi

Name:      r.mradx.net
Address 1: 2a00:1148:db00::28 r.mradx.net
Address 2: 217.69.139.244 r.mradx.net

As you can see, the domain is on the block list, but pi -hole resolves it.

192.168.1.33 is the RaspberryPi address with the pi-hole installed in it.

# nslookup pi.hole 
Server:    192.168.1.33
Address 1: 192.168.1.33 pi

Name:      pi.hole
Address 1: 192.168.1.33 pi

The same thing happens with manually added domains to the blacklist.

I already completely removed the pi-hole and reinstalled the fifth version - this did not help.

I just moved your post to a new topic to not mix up similar but maybe different issues.

Please generate a debug token with pihole -d or via the web interface.

Do you see any queries in the query log?

My debug token is: https://tricorder.pi-hole.net/9zxcg6r6du

In my privacy settings "No Statistics mode" was selected, I just switched to "Show everything and record everything" and the blocking started to work! I switched back to "No Statistics mode" and the blocking stopped working again.
It seems that the problem is somehow related to this.

Yes, that's a known problem that will be fixed in v5.1.

Privacy level 4 will be removed.

https://github.com/pi-hole/docs/pull/310

Thanks for your reply! I switched to "Anonymous mode" and everything works fine.
But will the “sudo pihole logging off” command turn off the blocking?

It should not, because this is just about logging to var/log/pihole.log or not. But please try and let me know :slight_smile:

Yes, disabling logging does not disable blocking :slight_smile: Thank you!

1 Like

There is another question, inspired by the care of the flash card in RaspberryPi: with this configuration, is the result of each query written immediately to the database, or is data added to the database at some interval?

The default is to write to the database every minute. This is a user-configurable parameter.

DBINTERVAL

1 Like

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