Setting up PIHole

Date: 2025-09-08

Tags: #Misc

Introduction

Today I finally set up a PI Hole for my home network! Everyone should have one since it’s very convenient and not expensive at all! It blocks ads network wide so there is no need to install any extensions.

Material

  1. Raspberry PI Zero 2 W (Or any computor that supports linux, this is just cheapest)
  2. Micro SD card (I would take at least 16gb)
  3. Micro USB power supply or a phone charger
  4. Ethernet to micro USB (optional, you could use wireless)

Installing Raspberry PI OS

First download the Raspberry PI Imager and flash the Raspberry PI OS Lite to your SD Card. Before that edit the settings and set the settings to your preference. Dont forget to enable SSH! After that plug your micro SD card into the Raspberry PI.

Installing PI Hole

Now you need to power on your Raspberry PI, go to your router settings and look for the PI, then do a DHCP reservation for the IP so it does’nt change and other devices cant take it.

SSH into your Raspberry PI. Go to PI Hole github and copy the install command. After that just run it in your console. An interface should show up there you just need to set the settings which are pretty self explenatory.

Now you can set the DNS settings in your router settings to your PI hole, set the ip for dns to the reserved one of your PI OR! you could do it for individual devices by changing their DNS settings. For your platform you can just google but on windows i’ve experienced issues with just setting the IpV4 ip I also had to set the IpV6.

End word

This guide isnt very detailed but I linked sites to specific keywords that should give you a detailed explenation on how to do it. In general the Pi Hole is blocking ads very good except.. YouTube for that get FireFox and UBlock Origin, which wroks extremly well.