YouTube is running an experiment asking some users to disable their ad blockers or pay for a premium subscription, or they will not be allowed to watch videos.
Yup. Pi-hole does DNS-level blocking which would only work if YouTube put their ads on some separate (sub)domain.
I actually experimented the other day by turning off ublock origin and letting Pi-hole try to do the work, but I saw ads.
Theoretically, YouTube could set up their infrastructure in such a way as to put the ads in the video stream you receive, but that is complex and has other risks and trade offs.
The problem is that unlike a lot of other ads YouTube serves its ads from YouTube.com and because of SSL PiHole can only act on YouTube.com as a whole, so there’s no way to block just the ads without blocking all of the site.
Pihole will not block YouTube ads. I think it’s incapable of doing so without blocking YouTube.
Yup. Pi-hole does DNS-level blocking which would only work if YouTube put their ads on some separate (sub)domain.
I actually experimented the other day by turning off ublock origin and letting Pi-hole try to do the work, but I saw ads.
Theoretically, YouTube could set up their infrastructure in such a way as to put the ads in the video stream you receive, but that is complex and has other risks and trade offs.
I can confirm this - the content comes from the same DNS name as the ads, this means pihole cannot distinguish between them
The solution then falls on something like ublock origin - sadly layers of ad blocking is needed in this day and age
The problem is that unlike a lot of other ads YouTube serves its ads from YouTube.com and because of SSL PiHole can only act on YouTube.com as a whole, so there’s no way to block just the ads without blocking all of the site.