Ads still showing on desktop but not on android devices

I'm using windows 7 and already disabled Ipv6 on windows (if this helps) and set pi-hole ip as DNS and dhcp server.
I block listed ad domain that are showing up on speedtest.net and ads-blocker.com (www.googleadservices.com) (googleads.g.doubleclick.net) and it's still showing up, but pihole -t says its being blocked.

when i nslookup www.googleadservices.com

Server:  tomohiro.pihole
Address:  192.168.0.2

Non-authoritative answer:
Name:    www.googleadservices.com
Addresses:  ::
          172.217.27.226

and for googleads.g.doubleclick.net

Server:  tomohiro.pihole
Address:  192.168.0.2

Non-authoritative answer:
Name:    pagead46.l.doubleclick.net
Addresses:  2404:6800:4001:805::2002
          216.58.203.66
Aliases:  googleads.g.doubleclick.net

idk why my desktop is bypassing pihole but ads are being blocked on my android device.

Expected Behaviour:

Block ads on desktop

Actual Behaviour:

Not blocking ads on desktop but blocking ads on android devices

Debug Token:

https://tricorder.pi-hole.net/n6pd4m93wz

thanks

On which platform did you run this command? The Pi terminal, the Windows command prompt?

What are you referring to?

Windows promp,

Here's the one from pi

Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   googleads.g.doubleclick.net
Address: 0.0.0.0
Name:   googleads.g.doubleclick.net
Address: ::
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   www.googleadservices.com
Address: 0.0.0.0
Name:   www.googleadservices.com
Address: ::

From the Win7 command prompt, what is the output of:

ipconfig /all

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . : pihole
   Description . . . . . . . . . . . : DW1501 Wireless-N WLAN Half-Mini Card
   Physical Address. . . . . . . . . : 1C-65-9D-D1-DC-50
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.0.5(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Thursday, December 24, 2020 3:47:14 AM
   Lease Expires . . . . . . . . . . : Friday, December 25, 2020 3:47:17 AM
   Default Gateway . . . . . . . . . : 192.168.0.1
   DHCP Server . . . . . . . . . . . : 192.168.0.2
   DNS Servers . . . . . . . . . . . : 192.168.0.2
   NetBIOS over Tcpip. . . . . . . . : Enabled

Look in /var/log/pihole.log for the queries from IP 192.168.0.5 for queries and replies for one of the two domains you are testing, and post the output here.

grep www.googleadservices.com /var/log/pihole.log

Dec 24 03:57:43 dnsmasq[9745]: query[A] www.googleadservices.com from 192.168.0.5
Dec 24 03:57:43 dnsmasq[9745]: exactly blacklisted www.googleadservices.com is 0.0.0.0
Dec 24 03:57:43 dnsmasq[9745]: query[AAAA] www.googleadservices.com from 192.168.0.5
Dec 24 03:57:43 dnsmasq[9745]: exactly blacklisted www.googleadservices.com is ::
Dec 24 03:58:10 dnsmasq[9745]: query[A] googleads.g.doubleclick.net from 192.168.0.5
Dec 24 03:58:10 dnsmasq[9745]: exactly blacklisted googleads.g.doubleclick.net is 0.0.0.0
Dec 24 03:58:10 dnsmasq[9745]: query[AAAA] googleads.g.doubleclick.net from 192.168.0.5
Dec 24 03:58:10 dnsmasq[9745]: exactly blacklisted googleads.g.doubleclick.net is ::

Pi-hole is correctly blocking the queries. Perhaps there is a cache active on the Win7 client, or some similar behavior.

I've run 'ipconfig /flushdns' and cleaned chrome's data is there anything i can do??

I originally have uBlock origin but I wanted to test if pi-hole does block ads on my browser but then ads starts showing up so i thought it was not working fine, I guess I'll just use uBlock origin for my desktop

If Pi-hole is receiving and answering DNS correctly as expected, there has to be something on the client that is interfering.

You wouldn't make use of additional DNS services as offered by anti-virus software, e.g. AVG Secure DNS or AVAST Real-Site?

1 Like

Thanks I disabled avast 'real site' and it fixed the problem,
win7 client

Server:  tomohiro.pihole
Address:  192.168.0.2

Name:    www.googleadservices.com
Addresses:  ::
          0.0.0.0

I suspected that the culprit was avast yesterday so I disabled its firewall but ads still showing so i thought it was not.

Thank you so much guys.

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