I've been messing with reg-ex in an attempt to get pi-hole to filter youtube adverts across all networked devices, however youtube uses the same domain for the video stream and the advert, so this is proving problematic.
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....
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.
Is there a way to use regex to allow the first requests to googlevideo.com and block the second request to the same domain for say 1000ms? thus stopping all adverts being allowed through?