How to create a pi-hole ad blocker with a Raspberry Pi

A pi-hole is a DNS based ad-blocker. You simply point either your router's DNS or individual device's DNS to its IP.

Use either a R-Pi, or create a simple Linux VM with 1 core and 1GB RAM.

  1. Assign a static IP (via DHCP reservation) to your R-PI or VM in your router.

  2. (Linux only) sudo apt-get install net-tools

  3. curl -sSL | bash

  4. Point your router's DNS to your R-PI or VM.