YouTube not getting blocked after wildcard domain added

Expected Behaviour:

I add (\.|^)youtube\.com$ I would expect to see requests to youtube.com show up in the logs and be blocked.

Actual Behaviour:

The Post requests do not appear blocked

It is strange because when I turn off the regex I see the client sending requests to youtube...

But when I turn it on I don't see anything blocked and the requests seem to go through ok. Is there something funky going on here like the browser has some built in backup DNS? I am using Firefox.

Also the background on the way it is setup, My router is pointing at the PiHole Server as DNS so all of the requests through it "should" be going through pi-hole. The router is a netgear.

Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

debug.txt (29.5 KB)

From your debug log, I don't see a reason why it should not work.


On what kind of hardware are you running Pi-hole? Is this a docker installation?

[✗] pihole-FTL daemon is inactive

Please run from a client and post the output

nslookup youtube.com
nslookup youtube.com 10.42.0.96

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