Sponsored

Pi-Hole and blocking youtube adverts

Buggerlugz

ULTIMATE Member
Has anyone on here got experience with pi-hole? I've set mine up and got it working quite well (with 1.6m blocked urls) and managed to get it to work with my virgin media hub3 too.

The one thing I'm struggling with is getting it to block you-tube ads on other devices. Ublock does the job in firefox on PC's but because youtube uses the same servers to stream the video content and the adverts pi-hole struggles to block it.

I've scanned reddit and lots of forums, even adding some regex coding to my pi-hole console, but its very hit and miss because it can't really be specific enough (unlike ublock which blocks scripts directly in the browser.)

Has anyone had any success with this on pi-hole?
 

Lucian

ULTIMATE Member
Not using pi-hole, but on other devices (I guess you mean smartphones), have a look at NewPipe Youtube client if on Android.
 

Lucian

ULTIMATE Member
Right, then I don't see how it can be done with just pi-hole ..
I would recommend to install Kodi on the Xbox and use their Youtube app to watch stuff.
Been using Kodi for Youtube for years and it's a great experience most of the time.
I had to use the Youtube oficial "app" on the Firestick TV briefly and was shocked at the cesspool of ads and all sort of crappy promos and "recommendations"; enough to turn your brain into swiss cheese..
 

Buggerlugz

ULTIMATE Member
What happens is, when you request a video on youtube it calls the same server twice. It'll have 2 dns queries looking like this....

something-sn-4g5e6nze.googlevideo.com

The 1st lookup is the video and the second is the advert stream. Ideally, I need a way of getting the pi-hole to filter the second dns lookup but allow the 1st one.
 

Sánchez

Casual Member
There's no cardholder address verification on their payment backend so you could use a VPN to subscribe to YouTube Premium. I subscribe via India and pay around £1.30 a month for an individual sub.

IMO that's worth it for not having to faff around with third party apps and/or complex ad blocking solutions.
 

TTJJ

ULTIMATE Member
I pay a fiver a year for access to Premium (works because it's a shared family membership, but nothing else is shared). Well worth it. Previously used the India method also and it's worth it even at that price.
 

Buggerlugz

ULTIMATE Member
Well, I gave up with the pi-hole altogether. Its a cool concept, but overall its lacking in so many areas it can't be an effective method of network ad-blocking, certainly in 2021.
 

Lucian

ULTIMATE Member
Yeah, you definitely need something able to parse content and weed the ads out.. As i said, either install Kodi (if it's still possible) and watch Youtube thorough their addon or pay for Premium.
 

Buggerlugz

ULTIMATE Member
I find kodi you-tube to be problematic also with keys required to get it to work and jumping through hoops using the google API's. Which is why i've been using the xbox one on the tv.
 

Lucian

ULTIMATE Member
Yeah, it can be a pita. Google is trying to fight on all fronts. :)
 

Buggerlugz

ULTIMATE Member
Yeah, no matter what I try i always get the google auth error come up. I can't understand why they don't just use the "sign in from your phone" thing, which works fine on the xbox, then just remembers it.

If only the xbox didn't bombard you with 2 adverts on every youtube video!
 

Lucian

ULTIMATE Member
Yeah, no matter what I try i always get the google auth error come up. I can't understand why they don't just use the "sign in from your phone" thing, which works fine on the xbox, then just remembers it.

If only the xbox didn't bombard you with 2 adverts on every youtube video!
I did manage to set up my own yt api keys after which it does indeed ask you to "sign in via phone" like xbox.

The big difference I guess is the fact xbox app already has the api keys all set up, whereas Kodi's are banned or something.
 
Top
Promotion
Cheapest Superfast ISPs
  • Hyperoptic £15.00 (*25.00)
    Speed 50Mbps, Unlimited
    Gift: None
  • Vodafone £19.50 (*22.50)
    Speed 35Mbps, Unlimited
    Gift: None
  • NOW £20.00 (*32.00)
    Speed 36Mbps, Unlimited
    Gift: None
  • Shell Energy £21.99 (*30.99)
    Speed 35Mbps, Unlimited
    Gift: None
  • Plusnet £22.99 (*38.20)
    Speed 36Mbps, Unlimited
    Gift: £65 Reward Card
Large Availability | View All
Cheapest Ultrafast ISPs
  • Hyperoptic £20.00 (*35.00)
    Speed: 150Mbps, Unlimited
    Gift: None
  • Vodafone £24.00 (*27.00)
    Speed: 100Mbps, Unlimited
    Gift: None
  • Community Fibre £25.00 (*29.50)
    Speed: 300Mbps, Unlimited
    Gift: None
  • Gigaclear £26.00 (*54.00)
    Speed: 400Mbps, Unlimited
    Gift: None
  • Virgin Media £27.00 (*51.00)
    Speed: 108Mbps, Unlimited
    Gift: None
Large Availability | View All
Helpful ISP Guides and Tips
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
Promotion
The Top 20 Category Tags
  1. FTTP (3490)
  2. BT (3006)
  3. Politics (1921)
  4. Building Digital UK (1914)
  5. FTTC (1882)
  6. Openreach (1818)
  7. Business (1671)
  8. Mobile Broadband (1468)
  9. Statistics (1403)
  10. FTTH (1364)
  11. 4G (1270)
  12. Fibre Optic (1164)
  13. Virgin Media (1157)
  14. Wireless Internet (1149)
  15. Ofcom Regulation (1139)
  16. Vodafone (836)
  17. EE (828)
  18. TalkTalk (760)
  19. 5G (758)
  20. Sky Broadband (744)
Sponsored

Copyright © 1999 to Present - ISPreview.co.uk - All Rights Reserved - Terms  ,  Privacy and Cookie Policy  ,  Links  ,  Website Rules