James Liang/Whitelisting Pi-Hole Domains

Created Wed, 09 Jun 2021 23:05:27 -0500 Modified Wed, 27 Oct 2021 00:48:31 +0000
158 Words

The Problem

After installing Pi-Hole and routing some traffic through it I noticed that my YouTube app on my phone wouldn’t update my watch history. I thought it was a software bug that would be fixed through the app’s updates but after a week the issue persisted. I noticed that my TV would still log watch history and it was not routing through Pi-Hole. After some searching around, it seemed that Pi-Hole was doing its job too well and that it was blocking YouTube from tacking my history.

The Solution

To fix this issue, I added two domains to my Pi-Hole whitelist. The domains were:

s.youtube.com
video-stats.l.google.com

pihole

After adding the domains to my whitelist, any videos I watch on my phone got updated to my watch history. There is a Pi-Hole wiki post that has other domains that could be whitelisted and it includes the YouTube ones.