Shannon Eldridge-Kuehn was away from home when a Pi-hole update cut off the remote connection to their Raspberry Pi. They reconnected and tried again. The connection dropped a second time. [1][2]
The Pi had two jobs: it answered the household’s Domain Name System (DNS) requests and ran the tunnel connector Eldridge-Kuehn used to reach the home network while traveling. Restarting one service interrupted the route back to the machine, according to their account of the incident. [2][8]
Pi-hole update interrupted the tunnel
Eldridge-Kuehn says the update restarted Pi-hole’s DNS engine. They explain that if the Pi uses its own DNS service for name lookups, a restart can prevent the tunnel connector from resolving the names it needs. They say the tunnel and SSH session dropped together. The update stopped partway through, they wrote. [2]
A reader responding to the post described a similar remote-access problem involving a stale record. That reader’s account is separate from Eldridge-Kuehn’s update. [7]
DNS gives the tunnel names to find
In Eldridge-Kuehn’s setup, the tunnel depended on the same Pi that was being updated. The account illustrates a dependency in that particular configuration, not a general Pi-hole outage. [2]
Remote sessions can survive a disconnect
Eldridge-Kuehn also points to tmux for jobs that need a terminal. Its manual says a session can be detached and reattached, including after an unexpected disconnection. The systemd-run manual describes starting a command as a transient service. [2][5][6]
To finish the update, Eldridge-Kuehn ran it as a temporary service using systemd-run. They checked the logs and reported that Pi-hole’s components and service were working. [2]