Pihole problem

for the first time ever,I saw something that said status blocked (gravity)..I think that's good,but you know better..

What domain was blocked?

doubleclick.com shows in red and blocked (gravity)

And what browser are you using?

Chrome..But I also tried Firefox with no luck..

If you are seeing ads in that page, then that browser or client is not using Pi-Hole. Tail the Pi-Hole log and ensure that the DNS traffic from that browser is going to Pi-Hole.

If i correctly understand what you said,I can confirm that the traffic from my browser goes through pi-hole..it has logs like this:

Feb 20 04:15:03 dnsmasq[4030]: query[A] data.cnn.com from 192.168.1.12
Feb 20 04:15:03 dnsmasq[4030]: /etc/pihole/gravity.list data.cnn.com is 0.0.0.0
Feb 20 04:15:03 dnsmasq[4030]: query[A] data.cnn.com from 192.168.1.12
Feb 20 04:15:03 dnsmasq[4030]: /etc/pihole/gravity.list data.cnn.com is 0.0.0.0
Feb 20 04:15:03 dnsmasq[4030]: query[A] e12596.dscj.akamaiedge.net from 192.168.1.12
Feb 20 04:15:03 dnsmasq[4030]: forwarded e12596.dscj.akamaiedge.net to 149.112.112.112
Feb 20 04:15:03 dnsmasq[4030]: query[A] data.cnn.com from 192.168.1.12
Feb 20 04:15:03 dnsmasq[4030]: /etc/pihole/gravity.list data.cnn.com is 0.0.0.0
Feb 20 04:15:03 dnsmasq[4030]: query[AAAA] e12596.dscj.akamaiedge.net from 192.168.1.12
Feb 20 04:15:03 dnsmasq[4030]: forwarded e12596.dscj.akamaiedge.net to 149.112.112.112
Feb 20 04:15:04 dnsmasq[4030]: reply e12596.dscj.akamaiedge.net is 23.36.225.200
Feb 20 04:15:04 dnsmasq[4030]: reply e12596.dscj.akamaiedge.net is 2a02:26f0:6b:581::3134
Feb 20 04:15:04 dnsmasq[4030]: reply e12596.dscj.akamaiedge.net is 2a02:26f0:6b:58a::3134`

but again,on the CNN page provided before,it displays an ad from Lidl.Also,on other test pages it displays ads..

Pi-hole is working, it's blocking domains. What lists do you have enabled? I'm pretty much running out of ideas so I'll be backing out of the conversation soon.

Use the tools linked in the earlier reply to determine the source of the ads.

if you are asking about my upstream dns servers I had quad9.But also tried all of them together,then tried cloudflare alone,google alone..In any case,the same.
EVERY page displays ads.

It's not that a single page displays ads.it's that ANY page which has ads,displays them..I wish I could show you..

You can grab a screen capture and post that graphic directly into a reply here. Also post the complete URL and I'll see if I can duplicate.

let's say https://edition.cnn.com/


ads both right (the shoe) and on top..(previously on top it had a lidl ad)

or speedtest ads here


guys I really want to thank you for all the help you are providing..

I don't see those ads. Use the tools, figure out the ad source and block it

Also, what OS is on the client seeing the ads?

windows 7,chrome.
Should I use all the DNS servers at once?maybe it will help..

I m trying again,but I have no idea why this is happening..
So I ve blacklisted 3 domains as shown in a tutorial.but the damn ads still working..Am I so stupid??


I just saw that on the raspberry (hosting pi-hole) it doesn't show ads..

Adding more DNS servers will have no effect. If Pi-Hole is not blocking domain, all the upstream DNS servers will return the same IP's for unblocked domains.

As noted previously, the Windows client has DNS Servers other than Pi-Hole available, and some of the DNS traffic is bypassing Pi-Hole. Your Pi-Hole is working properly, but it can only block those DNS requests that it receives.

On the router, fix the IPv6 problem - either disable IPv6 or ensure that the IPv6 IP used for DNS is the Pi-Hole IPv6 address.

2 Likes