Some ads are not blocked

blacklisting
whitelisting
#1

Please follow the below template, it will help us to help you!

Expected Behaviour:

Block ad.

Actual Behaviour:

I’ve just cleaned the whitelist/blacklist and now somehow my swedish news sites does not block ads anymore and I can’t see in the query what’s been forwarded and not - I might think this is because I’m using cloudflares DOH service, not sure tho, how does one track down ads best way?
This is the sites I’ve tested most recently
dn.se
aftonbladet.se
swedroid.se

Token:

hypaqpet23

0 Likes

#2

Some of the countermeasures the news sites are using now are rendering the ads on their sites servers and passing them though as normal content. There is no way for pi-hole to intercept these types of pass though ads.

I assume other sites are being blocked just fine and are logged. If your comments are correct and you are not seeing any activity in the log on the pi-hole for the DNS lookup for the ads for these two sites this is probably the case.

0 Likes

#3

They do get blocked when using uBlock tho.
What I mean is since I use cloudflare dns over https, it’s using the cache to forward the dns and that’s why it’s not being seen in the query tab.

0 Likes

#4

I use DOH though Cloudflare on the pi-hole. DNS configured for my devices comes from the pi-hole’s DHCP server which forces them to use the pi-hole DNS service. All traffic is logged in this configuration on the pi-hole.

Where did you configure the DOH service?

0 Likes

#5

Okay, that’s weird. I did follow this guide: https://docs.pi-hole.net/guides/dns-over-https/

Did you try any of the sites I posted, do you get the same result as me, ads appear?

0 Likes

#6

I will try when I get home. But I used the same guide. Also there was a post on these forums that when using this configuration make sure you turn off DNSSEC in case you may have configured to use this before the configuration change.

0 Likes

#7

This is not the case. Regardless of what your upstream DNS server has in cache, the query will be shown in your query log and in /var/log/pihole.log

0 Likes

#8

I tested all three of the sites and all the advertisements appeared to be blocked and the DNS lookups were all in my logs. I would suggest you look at the computer / device you are using. Make sure the DNS settings on that device is pointing to the pi-hole address.

0 Likes

#9

Thank you both guys, I’d whitelist some nasty vortex.micrsoft, blacklisted that and a few other. Adblock is now functional on all sites I sent in the OP.

I’ll keep an eye with the pihole -t and chrome extension in the future for nasty ads.

You can close this issue.

0 Likes

closed #10

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

0 Likes