Post

Pihole & Unbound Setup

In a lot of videos about homelabs, I’ve seen PiHole be mentioned in almost all of them. It’s a self-hosted DNS server which can block certain domains from entering your network (which a lot of times people use for ad blocking).

I used this video from Craft Computing as my main walkthrough on the setup, but PiHole setup is very well documented on the PiHole GitHub.

1
curl -sSL https://install.pi-hole.net | bash

Is the one-line command to install and run the setup.

That video also mentions using unbound to turn PiHole into a recursive DNS server.
The install is very easy and PiHole has documentation specifically on this usecase

1
sudo apt install unbound

I chose to host mine virtualized on my Proxmox server using these configurations:
image

PiHole is not very intensive on hardware, but I think I will allocate more RAM in the future so that it can have some extra wiggle room if the network is in high-demand.

This post is licensed under CC BY 4.0 by the author.