"The Pi-holeĀ® is a DNS sinkhole that protects your devices from unwanted content, without installing any client-side software."-docs.pi-hole.net
“The Pi-hole can block ads for all devices on your network. All you need is a Raspberry Pi connected to your router. It was inspired as a low-cost, open source alternative to the AdTrap. The Pi-hole works on the the B, B+ and Pi 2 (it can also run on the Zero W)”
Mine is running on a Raspberry Pi Zero W.
