Evgeny
June 11, 2020, 11:16am
1
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?
Evgeny
June 11, 2020, 11:53am
3
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.
master ← tweaks/general
opened 04:20PM - 14 May 20 UTC
- Update `libnettle` version (v3.6 released 2020-04-29)
> Nettle is a crypt… ographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
- Remove outdated section about `gravity.list`
- Remove privacy level 4 as blocking does not work in this mode (we will remove it for v5.1). No harm to remove the documentation already now. Disabling any processing effectively disables blocking which is counterproductive.
- Removal of hard-coded cache size limit has been removed upstream in dnsmasq v2.81, so remove this comment
Evgeny
June 11, 2020, 12:32pm
5
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
Evgeny
June 11, 2020, 12:42pm
7
Yes, disabling logging does not disable blocking Thank you!
1 Like
Evgeny
June 11, 2020, 8:00pm
8
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?
jfb
June 11, 2020, 8:14pm
9
The default is to write to the database every minute. This is a user-configurable parameter.
DBINTERVAL
1 Like
system
Closed
July 2, 2020, 8:14pm
10
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.