Again, not blocking Google ads

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

Actual Behaviour:

Google ads are still appearing, but on another computer I have confirmed there is only one network connection, and even directly using the Pi-Hole machine as DNS instead of the router (router is using Pi-Hole as DNS.

I even have put in an exact URL of the offending Google ad.

DEBUG_REGEX=true is still set in /etc/pihole/pihole-FTL.conf

The log is showing the following after reload of the exact URL blacklist

[2019-09-26 11:50:58.746 727] * DEBUG_ARP NO *
[2019-09-26 11:50:58.746 727] * DEBUG_REGEX YES *
[2019-09-26 11:50:58.746 727] * DEBUG_API NO *
[2019-09-26 11:50:58.746 727] * DEBUG_OVERTIME NO *
[2019-09-26 11:50:58.746 727] * DEBUG_EXTBLOCKED NO *
[2019-09-26 11:50:58.746 727] * DEBUG_CAPS NO *
[2019-09-26 11:50:58.746 727] ************************
[2019-09-26 11:50:58.954 727] /etc/pihole/black.list: parsed 1 domains (took 0.1 ms)
[2019-09-26 11:50:59.766 727] /etc/pihole/gravity.list: parsed 116051 domains (took 811.7 ms)
[2019-09-26 11:59:05.829 727] Regex in line 3 "(^|.)googlesyndication.com$" matches "tpc.googlesyndication.com"

nslookup from Pi Hole:

nslookup googleads.g.doubleclick.net
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: googleads.g.doubleclick.net
Address: 0.0.0.0

From the problem machine:

nslookup googleads.g.doubleclick.net
Server: UnKnown
Address: fe80::120d:7fff:fe4b:422b

*** UnKnown can't find googleads.g.doubleclick.net: Query refused

Same results with just using doubleclick.net

In addition, there is another Google ad that keeps refreshing with each page reload.

From https://tpc.googlesyndication.com which is also blocked.as confirmed with nslookup

Debug Token:

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

Any ideas on how these are getting through?

1 Like

the other machine appears to be using IPV6

According to the settings (Windows 10), IPv6 is turned off

Here are the network connection details

And ipconfig details:

Ehernett adapter Ethernet

Connection-specific DNS Suffix . : lan
IPv6 Address. . . . . . . . . . . : fd4d:9ac5:a6d6::b90
IPv6 Address. . . . . . . . . . . : fd4d:9ac5:a6d6:0:ed8e:45e8:4fcf:38b2
Temporary IPv6 Address. . . . . . : fd4d:9ac5:a6d6:0:2529:a6f7:833e:4d2e
Link-local IPv6 Address . . . . . : fe80::ed8e:45e8:4fcf:38b2%14
IPv4 Address. . . . . . . . . . . : 192.168.1.211
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Also, IPv6 DHCP on the router is also disabled.

Your network connection details show three IPv6 DNS servers for the PC.

So , I got on another Debian machine I got here, not using Wi-Fi, and made it use the Pi-Hole machine directly (on 192.168.1.74)

After that, Google ads are still appearing

Please provide an example URL where you are seeing Google ads.

This is from

I'm using the default OOTB PiHole blocking lists only as provided during installation and I don't get any ads on that page.

Use these pools to find out where the ads are coming from:

1 Like

After seeing Google ads all over the place, I added them to the blacklist

This is very odd.

I refresh the page, and it displays new ads every time. When I look at the suggested log, Pi Hole is showing all queries as .0.0.0.0.

I swapped machines, and looked at the same page again on different machine, there is no sign of any ads at all.

Okay, Finally got it. Thanks!

What change did you make to resolve this?

1 Like

Using the log you told me about, I was able to see the afflicted computer was not querying the Pi-Hole DNS even though it was set to use it. After a few ON/OFFs, it finally started using Pi-Hole.

Thanks again!

I do wonder where it was getting DNS info if it was not using the 192.168.1.74 IP address, I have setup for Pi-Hole. Even the router is set to use Pi-Hole at that same address, and see many queries coming from it.

If I swap it again, it will start doing the exact same thing until I turn the network connection ON-OFF a few times.

What browser are you using?

If you use Chrome or another Chromium based browser, your browser may sometimes choose to ignore your network's DNS settings and use Google's DNS servers instead.

Turn this off (check details for some examples)

You can disable this within the Chrome's privacy settings. Look for an option innocently named 'Use a web service to help resolve navigation errors':
dns-chrome
In other Chromium based browsers, this option may be named differently, e.g. Vivaldi chose a more explicit name:
dns-vivaldi


I will have nothing to do with any Chrome/Chromium based browsers. With that, I am using a Firefox based fork called Waterfox

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