Hi all,

I’m using viewtube for 3 days, and I love it.

My next step is migrate all request to that service, I test the video/playlist url os the same, and I use pi-hole as my local dns server.

Is possible to rewrite the domain on pi-hole? like any request to YouTube.com/watch?v=v43DXkj5b0I to mydomain.com/watch?v=v43DXkj5b0I ?

I was reading pi-hole docs and I can’t find anything useful for this feature.

Thank you.

  • pentesticals@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Not really, you can use DNS to point YouTube.com to an iP you control, but the problem is that you will get TLS issues. It won’t redirect the hostname, but just the IP address. You could use a custom CA and sign YouTube.com certificates, but you will likely still have problems if you use Chrome because they will be pinning certificates for Google services, and your mobile applications will also pin the certs so your mobile YouTube will stop working completely.