When using PiHole, it is observed that YouTube no longer records when a video has been watched, This is very undesirable as it causes quiet a few usability problems.
Details about my system:
Just a standard PiHole setup, all DNS queries for affected systems are going to PiHole. If I switch back to my normal DNS servers the problem goes away. Presumably something I the standard blocklist is causing this issue and I imagine that whitelisting one or more servers would fix it, if only I knew which ones they were. I'd even be amenable to disabling PiHole completely for all YouTube related stuff, but I'm not sure how easy that is...?
What I have changed since installing Pi-hole:
Nothing relevant to this. In fact I have changed very little (pihole container hostname, upstream DNS servers set to my home servers, container IPv4 and IPv6 addresses).
You may have to use something like 'pihole -t' in a terminal on the pihole while going to youtube and watching a vid so catch which are being blocked and go from there.
The base adlist can be viewed at the link below. Doing a ctrl+f and seaching for google shows 183 entries. "video-stats.video.google.com" stood out as a possible one to whitelist. No idea if its the correct one or not though. Its a place to start.
video-stats.video.google.com and video-stats.l.google.com should be whitelisted for the statistics and history to function correctly on youtube. I also have *.youtube.com and *.googlevideo.com whitelisted as regex entries (.|^)youtube.com$ and (.|^)googlevideo.com$
Thanks. Interestingly, I added a whitelist entry for s.youtube.com and my 'users' report that YouTube watch history is now working. I've added the two 'video-stats' names that you provided as well, just in case.