This commit removes the imperative bash scripts and local systemd units previously used for Dynu DDNS synchronization. As defined in the new ADR 002, this responsibility has been fully migrated to the declarative host OS configuration (nixos-config) to improve secret management, reduce redundant polling, and establish a single source of truth. - Add ADR 002 detailing the migration to NixOS declarative state - Delete legacy scripts/dynu directory (installer, monitor, units, env) - Delete redundant infra/nixos/dynu-ddns.nix module - Update architecture, roadmap, and protocol docs to reflect deprecation
64 lines
2.4 KiB
HTML
64 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Dynu IP Protocol | Hardened Hub</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<main>
|
|
<header style="background: #ffe6e6; border: 1px solid #ff9999; padding: 15px; border-radius: 5px; margin-bottom: 25px; color: #cc0000;">
|
|
<strong>⚠️ DEPRECATED</strong>
|
|
<p>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 <a href="https://github.com/kiskaadee/nixos-config/commit/c7acc2b0a3bb262dfd5577989d8d7f0218f2721e" target="_blank">c7acc2b0a3b</a> for implementation details.</p>
|
|
</header>
|
|
|
|
<header>
|
|
<h1>📡 Dynu IP Monitor & Updater</h1>
|
|
<p>Design and architecture of the DDNS synchronization mechanism.</p>
|
|
</header>
|
|
|
|
<section>
|
|
<h2>Problem Definition</h2>
|
|
<p>Maintain accurate DNS A records despite dynamic public IPs and unreliable providers.</p>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Core Design Decisions</h2>
|
|
<div class="grid">
|
|
<article class="card">
|
|
<h4>1. Probe Model</h4>
|
|
<p>Runs periodically via systemd instead of a long-lived daemon.</p>
|
|
</article>
|
|
<article class="card">
|
|
<h4>2. Dual-Source</h4>
|
|
<p>Uses DNS (primary) and HTTP (fallback) for IP discovery.</p>
|
|
</article>
|
|
<article class="card">
|
|
<h4>3. Validation</h4>
|
|
<p>Strict pipeline ensures no RFC1918 or private IPs are ever synced.</p>
|
|
</article>
|
|
<article class="card">
|
|
<h4>4. Atomicity</h4>
|
|
<p>State updates use atomic file moves to prevent corruption.</p>
|
|
</article>
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Failure Model</h2>
|
|
<ul>
|
|
<li><strong>Degraded:</strong> Fallback used, system remains functional.</li>
|
|
<li><strong>Error:</strong> No valid IP found, abort mutation.</li>
|
|
</ul>
|
|
</section>
|
|
|
|
<footer>
|
|
<p>(c) 2026 | <a href="https://roadtotech.me">Kiskaadee</a></p>
|
|
</footer>
|
|
</main>
|
|
|
|
</body>
|
|
</html>
|