Youtube is NOT blocked. However, using the same filters youtube WAS blocked for one day, then it's working again as if the filters were not there at all.
Debug Token:
[Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface]
If you took the time to search our forums, you could have spared yourself from typing up a new topic.
This has been asked over and over and over in this forum, and there have been plenty of largely futile attempts to get around it.
At DNS level, a domain that serves both wanted (like videos) and unwanted content (like ads) cannot be blocked, unless you are willing to block the wanted content also.
I am not sure what in my original post made you think that I want to block youtube ads. I said I want to block youtube. Both wanted and not wanted content.
I applied the filters you can see and both wanted and unwanted content is still playing. Is there a solution to that?
Ah, I see.
That intention isn't quite clear from your topic's current wording.
You may want to adjust your title accordingly, to attract the right group of users to share their experience.
I'm not aware of any blocklist that would block Youtube in its entirety. Also note that blocklists are maintained by their respective list curators, independently from Pi-hole.
To find out about involved domains yourself, you'd have to watch Pi-hole's Query Log for domains im much the same way you'd hunt for ads:
This indicates that the client on which you are able to load YouTube is not using Pi-hole for DNS. The client apparently is using a different DNS.
Pi-hole records all queries in the query log, and it appears that your regex to block YouTube is correct.
From the client in question (the one on which you are able to load YouTube), and directly from the terminal or command prompt on that client (not via ssh to Pi-hole), what is the output of the following:
I thought this was in a Feature Request and was about completely blocking youtube ads. I apologize if I was incorrect. That sometimes happens when I'm answering user questions at 2 AM.
As others have noted, the screenshot regex should be sufficient in blocking anything with the youtube domain, if it is not then the clients are either not using Pi-hole or they have more than Pi-hole as their DNS server and are getting around Pi-hole with the other DNS servers.
thank you guys, I found what the problem was - the computer I was using to see if youtube still loads is my work computer that uses a VPN. youtube is blocked for the other computers.
learning something every day...
well there's something else going on
I am trying to block my son's access to youtube. I don't care if I block the entire network accessing youtube.
But it still doesn't work.
With the filters in place as per my first screenshot my phone for example is not able to access youtube but my son't laptop is.
I checked if he installed a VPN, there's no VPN.
I modified his wifi adapter settings to use the Pihole as DNS. That worked until I disabled and re-enabled the pihole. After re-enabling, the filtering is not applied anymore.
I tried other computers on the network, for phones for example access is blocked as per filters, for laptops it's not.
Am I missing something or are there limitations to pihole and I need to look for something else?
What am I missing?
same thing happens with other sites, like evowars.io - it is blocked on my phone, not on my son's laptop.
I notice this: the filters work until I disable the PiHole from the "disable" option. Once I re-enable PiHole the filters are not working anymore. In other words, PiHole stays disabled even after it is re-enabled from this menu option.
Is there some procedure to ensure that pihole is truly enabled?
so, I removed all those 1000+ wrong regex entries
but now the blacklist does not have a group column anymore so I cannot assign a filter to a group or tell to which group will a filter apply
Is it possible to assign a filter to a group? Or I can only assign an adlist to a group?
If the latter, can you please point me to some instructions on how to create and host my own list?