Some guy on reddit
has posted some new method of creating your own hosts file to block youtube ads. I'm testing it and it seemed to be working. Anyway, what I'd like to ask is: Usually, a hosts file must only use 127.0.0.1 and 0.0.0.0 so that Diversion can redirects the domains to pixelserv IP:
0.0.0.0 domain-to-be-blocked
127.0.0.1 domain-to-be-blocked
But for this new method, the hosts file will contain rows like these:
Code:
172.217.13.254 manifest.googlevideo.com
172.217.13.255 manifest.googlevideo.com
172.217.15.64 manifest.googlevideo.com
172.217.15.65 manifest.googlevideo.com
So, if the method actually works, would you be able to implement a function for Diversion to enable the use of those special rules?