Pi-hole is an awesome DNS server. Pi because it was designed to run on a Raspberry Pi and hole because that’s where advertisements DNS requests end up. Ad-blocking at the DNS level means that every device on my network is free from the majority of pesky ads, even mobile apps.
| ISP DNS (ads) |
Pi-hole DNS (no ads) |
 |
 |
Another advantage of DNS level blocking is that the data for the advertisement is never actually sent to the device, which dramatically speeds up web browsing. This becomes obvious when reading ad heavy news articles on mobile devices.
As a side note, I find it easy to morally defend ad-blocking. Advertising is a socially acceptable form of manipulation. I appreciate that I benefit from advertising as it funds many things I enjoy like YouTube. However I contribute directly to content creators via Patreon and I have the right and a duty to defend myself from propaganda.
Pi-hole is the DNS server for my home network as well as my VPN so I can pi-hole on the go. Things were going great, I was enjoying a faster and less annoying web experience… until I noticed something strange with YouTube’s recommendations. Every time I visited YouTube, it would recommend me the same videos, even after I had watched them. After a couple of weeks cursing YouTube, I discovered the problem. Pi-hole was eating requests to s.youtube.com which was feeding YouTube’s recommendation engine by tracking my viewing habits. s.youtube.com was quickly whitelisted and YouTube returned to normal.
I wrote this article incase anyone else was having this issue with YouTube/Pi-hole and to highlight some of the rare benefits of online tracking.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
- ---
title: Pi-holed Myself
description: "Pi-hole's DNS-level ad blocking ate YouTube's tracking requests and broke my recommendations. Oops."
author: Greg
layout: post
permalink: /2017/05/pi-holed-myself/
comments: True
categories:
- technology
tags:
- raspberry pi
- ai
licence: Creative Commons
- ---
[Pi-hole](https://pi-hole.net/) is an awesome DNS server. Pi because it was designed to run on a [Raspberry Pi](https://www.raspberrypi.org/) and hole because that's where advertisements DNS requests end up. Ad-blocking at the DNS level means that every device on my network is free from the majority of pesky ads, even mobile apps.
ISP DNS (ads) | Pi-hole DNS (no ads)
:-------------------------:|:-------------------------:
 | 
Another advantage of DNS level blocking is that the data for the advertisement is never actually sent to the device, which dramatically speeds up web browsing. This becomes obvious when reading ad heavy news articles on mobile devices.
As a side note, I find it easy to morally defend ad-blocking. Advertising is a socially acceptable form of manipulation. I appreciate that I benefit from advertising as it funds many things I enjoy like YouTube. However I contribute directly to content creators via [Patreon](https://www.patreon.com/) and I have the right and a duty to defend myself from propaganda.
Pi-hole is the DNS server for my home network as well as my VPN so I can pi-hole on the go. Things were going great, I was enjoying a faster and less annoying web experience... until I noticed something strange with YouTube's recommendations. Every time I visited YouTube, it would recommend me the same videos, even after I had watched them. After a couple of weeks cursing YouTube, I discovered the problem. Pi-hole was eating requests to `s.youtube.com` which was feeding YouTube's recommendation engine by tracking my viewing habits. `s.youtube.com` was quickly whitelisted and YouTube returned to normal.
I wrote this article incase anyone else was having this issue with YouTube/Pi-hole and to highlight some of the rare benefits of online tracking.
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEESYClA57JitMYg1JBb8nUVLEJtZ8FAmrSbiMACgkQb8nUVLEJ
tZ+afhAAhRvNlw0YAIaHHKsGs7lTQz0NU/VvZKJiaHxjQLnvCn+JkOwtTxDYLs2N
MmVO1+n4pduUUej9cSSS3Jk8hAMtqTjSW5CBDQAjIN4e22d5VBIvhVHnd8UnPyvI
6gHZ9HByewCiQc7/wOm1E6UiZazbug5pNaELeZm4m4WataGm4wBGD7u1LoN0uljD
igJqH8wfHb5Efw3893z4e9qUjrHwkBOVFdny6ldKQ2dfxM0VIP9CvnZ9XzOXFyLh
WO6O1HtU7SsmrHYsIz5ua21lJTs258koCZsOYfnLaPkTqgrmPr0wSHSmsJYwfdUm
a3Yj8GArsh+KcSzFY3CLqFaPlEk2NFZ1z9cQMyuP2JTUCrfgjZ5tuZQ3HgUm31nt
OjL65AUzeLT19nsYXjiM7ctBX4uN2fTR4YzKfGImkOdE4sEypj1F4T3d/6+bFkut
kUjPuiz9M77wVYQ1fcvAOtvBsOXFpzwzw+mKzuLBpj6eKFjaiFTsCgRGoQnxYCXs
k5rVY+F7wwMkVRAX4UTqB1equ3gHF5Pm6FuYK4WNIVdePv0kStI5qvXDgoDKg+Jf
Fm7ROMnLOBoCY442XtKOMxNZAMREWg8pR/eW7eZWhCUMTq9+lDWaRh8v5iikwQVX
kR/Br4yb/7ZYRkrrsx0TAgLg7Cww1R/u23OPBh0RQhl7YYh+CKw=
=AA25
-----END PGP SIGNATURE-----