• flambonkscious@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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

    • SoftestVoid@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.

    • dormedas@lemmy.dormedas.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.