I installed Pi-hole on my RPi 4 under docker to play around a bit and testing things out.
I added a bunch of lists (not all at the same time).
Then i noticed that some domains aren't blocked, although at least 1 active adlist containing them.
For example this one: v10.vortex-win.data.microsoft.com
Gravity was manually updatet through the frontend after adding new lists.
I also tried executing following commands within the docker container, but wihout any success:
pihole restartdns
pihole -g -f
Output:
[✓] Deleting existing list cache
[i] Neutrino emissions detected...
[✓] Pulling blocklist source list into range
[✓] Preparing new gravity database
[i] Using libz compression
...
[i] Target: https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt
[✓] Status: Retrieval successful
[i] Analyzed 33752 domains
...
[✓] Storing downloaded domains in new gravity database
[✓] Building tree
[✓] Swapping databases
[✓] The old database remains available.
[i] Number of gravity domains: 5151703 (4282470 unique domains)
[i] Number of exact blacklisted domains: 0
[i] Number of regex blacklist filters: 0
[i] Number of exact whitelisted domains: 2
[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
Seems fine for me...
For checking if a domain is blocked i tried following commands (within docker container):
pihole -q v10.vortex-win.data.microsoft.com
Output:
Match found in https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt:
v10.vortex-win.data.microsoft.com
Match found in https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt:
v10.vortex-win.data.microsoft.com
Match found in https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt:
v10.vortex-win.data.microsoft.com
Match found in https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/Win10Telemetry:
v10.vortex-win.data.microsoft.com
Match found in https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/easylist:
v10.vortex-win.data.microsoft.com
dig +short v10.vortex-win.data.microsoft.com @127.0.0.1
Output:
v10-win.vortex.data.trafficmanager.net.
global.vortex.data.trafficmanager.net.
40.77.226.250
No blocking here...
I can also see the successfull query in the frontend (Query Log):
I also tried to query the gravity database:
sqlite3 "/etc/pihole/gravity.db" "SELECT * FROM gravity WHERE domain = 'v10.vortex-win.data.microsoft.com'"
Output:
v10.vortex-win.data.microsoft.com|9
v10.vortex-win.data.microsoft.com|18
v10.vortex-win.data.microsoft.com|39
v10.vortex-win.data.microsoft.com|58
v10.vortex-win.data.microsoft.com|63
Here is also my debug log:
https://tricorder.pi-hole.net/GPRMOcA3/
Hopefully i misconfigured something and this isn't some serious bug.