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
search_terms: [pihole, adblock, adblocker, ad blocker, ad-free, ads, advertising, advertisements, dns server, home network, network, vpn, whitelist, whitelisted, allowlist, s.youtube.com, recommendation engine, algorithm, online tracking, privacy, patreon, content creators, propaganda, manipulation, ethics, isp, mobile apps, web browsing, faster browsing, self-hosted, homelab, troubleshooting, bug, raspberrypi]
- ---
[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-----
iQIzBAEBCAAdFiEESYClA57JitMYg1JBb8nUVLEJtZ8FAmr0r8IACgkQb8nUVLEJ
tZ/okBAArZg3SNIjYzxWtjr6MyTze6Zhhrg71n6R++/QnTGtGuam9IOksnwoq33q
cJpCgxuX7jjNwztGIAzqBafVI4lTaDCLx+2+bYzv+PMExsRbLKbwMgqLqKCEddd/
D1JCAvgszgfX2hedG85wEBTkGz/XOwUY/B8csTpeSwqikbjgdbcGSalo9yzsnLnC
retM4mSY87s9Ib1YAv4Q938298d80E2tX9bKHsd6vjiWhJT1jsmXk984QiLwDChO
HJLTxlpETF3BBs0WuO++ucSHibQ92/5AjAqj/IaX/yrzlf6eqQqF/U4b0D7GAgKP
xOEJcJ6kLuhtqdxjajxu5Fo6bjZub9llHSsLrmOgK9KE8jL0zHWQak7aNiaxcDJo
Z+01w7HAojhfcDJqA4Qc3IIjPzPeza7/UF5OUDdPjyrfs7APNEU33zSlE+bIV/4Z
qQeqpWpWKpfTK5dvTYENh2yhmpmZ62q8ZrvSzrgMY3qhIVhbpuatPtemzMe1aZvE
T4N7xgIcUwF5Pp75upVbfQ2f/ivNvsT/GtK6WZgIlglVnhhPa4KkiDWyIONRPPVJ
J4jiLp5HwhqwB32Kf6NVnkfwCvxuMZ8twLhSdrmQlgxolwax4v6m4dEXZvYaPIYr
sKGACC8dVmM+1JBQIEe90YSj/JQVmUKWIPb2zEv3Cu4fGsMNQ4k=
=RsMz
-----END PGP SIGNATURE-----