Table of Contents

🛡 Pi-hole DNS & Network Ad Blocking

Pi-hole provides the primary DNS, network-wide ad blocking, and local hostname resolution inside the TorresVault environment. Two Pi-hole nodes run behind a virtual IP (VIP) for high availability, ensuring DNS services remain stable even during maintenance or reboots.

This page provides a high-level overview of the Pi-hole design, configuration, VIP behavior, and role in the broader TorresVault network.


Role in TorresVault

Pi-hole serves several critical functions:

It is the first-hop DNS for every device in the environment, including IoT, Kubernetes VMs (future), and internal services.


Architecture

Pi-hole is deployed as a redundant pair:

All clients point to the VIP so failover is seamless.

UniFi DHCP automatically hands out:

This enables short-hostname access (e.g., `pve1`, `pve2`, `jellyfin`, `npm`, `in`) with no additional configuration.


What Pi-hole Resolves

Pi-hole acts as the internal authoritative DNS for key services:

Domain IP Address
ha.torresvault.com 192.168.20.149
hatest.torresvault.com 192.168.20.150
in.torresvault.com 192.168.1.27
jellyfin.torresvault.com 192.168.1.86
matrix.torresvault.com 192.168.60.56
megatree.torresvault.com 192.168.60.55
monitor.torresvault.com 192.168.1.77
next.torresvault.com 192.168.1.75
npm.torresvault.com 192.168.1.99
pbs.torresvault.com 192.168.1.252

These DNS overrides are critical for:


VLAN Awareness

Pi-hole must respond appropriately across all VLANs:

Because the VIP sits on VLAN 1, other VLANs reach it through UniFi routing with no issue.

All VLANs use the same DNS resolver for consistency.


Ad Blocking

Pi-hole blocks ads, trackers, malware domains, telemetry, and known phoning-home services.

This benefits:

Blocked domains reduce:


Integration With Other Systems

Pi-hole integrates cleanly with:


Current State


Future Enhancements


This page documents the Pi-hole DNS + Ad Blocking platform used inside TorresVault.