Getopt and
obsigna gave good information about using
unbound
. In this case, their suggestion is to block the whole
Google domain (i.e. you won't have
Google Mail, Google search, etc). This is all caused by the unfortunate fact that on
Youtube, Google is using DNS as a
video locator service that is quite fine grained. So, there are "pseudo" GUIDs associated with DNS names that need to be resolved in order to view
Youtube videos. IMO if you take a sample of twenty videos, likely each of them will require the resolution of an additional domain name, with a "psuedo" guid style naming scheme. That's been my experience. I don't know if the guids refer to servers or videos, but I have yet to find a video url that didn't have a unique domain name, maybe because I don't view that many videos.
Anyway, about the only remedy is a complete domain block, or a store-and-firewall DNS sort of technique, keeping only the desired subdomains in the cache. I don't think the builders of DNS meant for it to work at the file level, but rather at the
server level.
Again, I'm not sure which of those (server level/ file level) it is for the videos, cause Google has a lot of servers. If I'd bother to look at the source, I could tell. It's real fine-grained though, so a PITA to deal with. The average computer user pays no attention whatsoever to DNS, but right now it's becoming something it wasn't before ...