⚠️ DEPRECATED

This script-based DDNS implementation has been deprecated and removed from the homeserver repository. The Dynamic DNS update service and IP monitor are now handled declaratively by the host's NixOS configuration repository. See the nixos-config repository commit c7acc2b0a3b for implementation details.

📡 Dynu IP Monitor & Updater

Design and architecture of the DDNS synchronization mechanism.

Problem Definition

Maintain accurate DNS A records despite dynamic public IPs and unreliable providers.

Core Design Decisions

1. Probe Model

Runs periodically via systemd instead of a long-lived daemon.

2. Dual-Source

Uses DNS (primary) and HTTP (fallback) for IP discovery.

3. Validation

Strict pipeline ensures no RFC1918 or private IPs are ever synced.

4. Atomicity

State updates use atomic file moves to prevent corruption.

Failure Model