The Loft Rack

Incident

The house had no DNS for 98 minutes

A power cut of three seconds rebooted the Pi that answers DNS, and its SD card came back read-only. Every device in the house depended on it.

Resolved Critical

Changelog

v1.3.0: A role for the UPS

A new role shuts the rack down in order when the UPS runs on battery: the nodes after five minutes, the NAS last. No breaking change.

PostPaid members only

What the loft costs a year

Hardware written off over five years, power and the domain: 457 euros a year. Every part with its price, and what I would buy differently.

1 min

TIL

systemd-analyze calendar shows when a timer fires next

systemd-analyze calendar reads an OnCalendar= expression and prints the next time it matches, in local time and in UTC.

$ systemd-analyze calendar '*-*-* 04:00:00'
  Original form: *-*-* 04:00:00
Normalized form: *-*-* 04:00:00
    Next elapse: Fri 2026-08-21 04:00:00 CEST
       (in UTC): Fri 2026-08-21 02:00:00 UTC
       From now: 9h left

I check every new expression with it before a timer gets it. --iterations=3 lists the next three matches, which is how I found that the Sunday prune was set for Saturday.

Post

A Raspberry Pi that only does DNS

DNS for the house moved off the cluster onto a Raspberry Pi with Unbound. An update in the rack no longer takes the internet away from everyone downstairs.

1 min

A single-board computer with a label that reads pi-dns.
Buy Logbuch