This massive refactor transitions the project from a custom-scripted
multi-stack deployment into a unified, standard Docker Compose
architecture. This heavily simplifies GitOps workflows and native
NixOS systemd integration.
- Merge all infrastructure and portal compose files into a root docker-compose.yml
- Consolidate all service configurations and databases into a single ./config/ directory
- Remove brittle up.sh and down.sh orchestration scripts
- Fix Authelia templating by enabling X_AUTHELIA_CONFIG_FILTERS=template
- Replace all hardcoded domain names with dynamic ${DOMAIN} variables
- Archive legacy HTML documentation and architecture notes to docs/legacy/
- Introduce setup_guide.md as the single source of truth for SOPS secrets and NixOS deployment
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>
|