Homelab · The Build Series

Homelab DNS and DHCP: reservations, local domains and split DNS

IP addresses are for machines; names are for people. A homelab where the NAS is "nas.home" and every service answers to a name is a lab you can actually operate — and it is built from three decisions: who hands out addresses, what gets a reservation, and what your local domain is.

Published Nov 20, 2026

One DHCP server per network — and only one

DHCP is how devices get addresses, and the first rule is singularity: exactly one DHCP server per VLAN. In the reference build that is the firewall (OPNsense/pfSense run a server per interface), which keeps addressing next to the routing and DNS it must agree with. The classic homelab outage is two DHCP servers — the ISP router you forgot to disable cheerfully handing out addresses on the wrong network. Decide where DHCP lives, disable it everywhere else, and write the decision down.

Within each VLAN, split the range deliberately: the bottom of the subnet for statics and reservations (infrastructure), the middle for the DHCP pool (visitors), the top left empty for future you. The Subnet Planner lays out the matching subnets; whatever ranges you choose, they go in the documentation on day one, because every later decision references them.

Reservations: the address book of the lab

Infrastructure gets DHCP reservations (fixed addresses bound to MAC addresses, handed out by the server) rather than static addresses configured on devices. The difference matters: a reservation is managed in one place, survives the device being reset, and cannot collide with the pool. Reserve for: the node(s), NAS, APs, switch, printers, Home Assistant, and anything another device connects to by address. End-user devices (phones, laptops) float in the pool — they are found by name through DNS, not by address. Every reservation gets a DNS name at the same moment it is created; the pair is one act, not two.

Pick a local domain you actually own the rights to

Your lab needs a suffix: nas.home.arpa is the standards-blessed choice — home.arpa is reserved for exactly this (RFC 8375) and will never be a real internet domain. The popular alternatives carry small traps: .local collides with mDNS/Bonjour (Apple devices will intermittently resolve it the wrong way), .lan and .home are unreserved folklore that mostly works until it doesn't, and inventing a plausible TLD (.corp, .mail) risks collision if it is ever delegated. If you own a real domain, a subdomain of it (lab.example.com) is the power-user answer — it lets you issue real certificates later, which the security guide uses. Pick home.arpa or your own domain; then be boringly consistent forever.

Split DNS: one name, two answers

Services you host get public-style names (jellyfin.lab.example.com) that must resolve differently at home than away: at home, to the server's LAN address (direct, fast, works when the internet is down); away, to your remote-access route (Tailscale, a tunnel, a reverse proxy). That is split DNS, and the mechanism is simple: your local resolver (the firewall's, or AdGuard Home/Pi-hole — the comparison guide picks between them) holds local overrides for your service names, while public DNS answers everyone else. Every device on every VLAN should get your resolver from DHCP — DNS you do not control is policy you do not control, which is also how the ad-blocking and the IoT restrictions actually get enforced.

The failure mode, stated plainly: making the lab depend on one resolver makes that resolver critical infrastructure. Run it on the firewall or the NAS (always-on, UPS-backed), not on the node you reboot for fun — or run two and hand out both. When DNS is down, everything is "down"; design accordingly.

Official documentation and references

Frequently asked questions

Should DNS run on the firewall, the NAS, or a Pi-hole?

Any always-on device works; the firewall is the tidiest (it already hands out DHCP, so the two agree), and AdGuard Home/Pi-hole add filtering wherever they run. What matters is that it is not on a machine you casually reboot, and that every VLAN’s DHCP hands out that resolver and no other.

Why not just use static IPs on the servers?

Static addresses configured on devices scatter the address plan across a dozen config screens, collide silently when you forget one, and vanish when a device is reset or replaced. Reservations keep the plan in one screen — the DHCP server — which is also where the documentation points. The address a device ends up with is identical either way.

Do I need DNS names for IoT devices?

Names, yes (you will thank yourself when reading firewall logs); reservations, only for the ones other things connect to — a smart TV that Home Assistant controls, for instance. The rest can float in the pool under their advertised hostnames.

The Homelab Build Series · Stage 3 · Network design

This guide is step 11 of 20 in a single build sequence: plan, hardware, network, platform, integration, operation. Each step assumes the ones before it and sets up the ones after.

Related guides