Title: impl(dns-registry): recurring DNS backup job, renewal/cost tracking, dashboard view of the domain register · Issue #902 · developing-today/code · GitHub
Open Graph Title: impl(dns-registry): recurring DNS backup job, renewal/cost tracking, dashboard view of the domain register · Issue #902 · developing-today/code
X Title: impl(dns-registry): recurring DNS backup job, renewal/cost tracking, dashboard view of the domain register · Issue #902 · developing-today/code
Description: Context Drew's direction (2026-10-25): a standing registry of every domain/DNS name we own, a regular backup of the full DNS config for every zone, and one place to see which domain renews next, which are completely unused, and which are...
Open Graph Description: Context Drew's direction (2026-10-25): a standing registry of every domain/DNS name we own, a regular backup of the full DNS config for every zone, and one place to see which domain renews next, wh...
X Description: Context Drew's direction (2026-10-25): a standing registry of every domain/DNS name we own, a regular backup of the full DNS config for every zone, and one place to see which domain renews next...
Opengraph URL: https://github.com/developing-today/code/issues/902
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"impl(dns-registry): recurring DNS backup job, renewal/cost tracking, dashboard view of the domain register","articleBody":"## Context\n\nDrew's direction (2026-10-25): a standing registry of every domain/DNS name we own, a regular backup of the full DNS config for every zone, and one place to see which domain renews next, which are completely unused, and which are unused but earmarked for projects.\n\n**First pass is DONE (2026-10-25)** — this issue covers only the recurring machinery that pass deliberately did not build.\n\n- Register: `~/workspace/goals/stand-up-lab-cluster-talm-talos-cozystack-postgres-rustfs/files/dns-domain-register.md` — 41 domains (39 in the Porkbun account `developingtoday`, + drewrypope.com and boats.dev which are Porkbun-registered under a different account), sorted by next renewal, with registrar, DNS host, renewal date, auto-renew state, list renewal price, where-used evidence, plan/status, and a review flag per domain.\n- Seed snapshot: `~/workspace/goals/stand-up-lab-cluster-talm-talos-cozystack-postgres-rustfs/hidden_files/dns-backup-2026-10-25/` — Cloudflare zone export (1 zone: security.cab, all 21 records), Porkbun account inventory (39 domains) + full TLD pricing table, public-DNS probe for all 41 domains, RDAP for the 2 outside-account domains. The snapshot README documents coverage and gaps precisely.\n\nHeadline facts from the first pass: all 39 account domains have auto-renew ON ($595.62/yr at list prices); next renewal is 1110x.de on 2027-02-09; only 3 of 41 domains show genuine use (security.cab, developing-today.com, drewrypope.com).\n\n## To build\n\n### 1. Scheduled DNS-config backup job\nRecurring (suggest weekly) read-only export producing a dated snapshot in the seed's format, diffed against the previous snapshot, surfacing: record changes, new/removed domains, expiry-date changes, price changes. Sources: Cloudflare API (zones + records; tokens in Bitwarden as `cloudflare.api-token-day-to-day` / `cloudflare.api-token-account-wide`) and Porkbun API (`porkbun.api-key` / `porkbun.secret-key` in Bitwarden).\n\n### 2. Renewal & cost tracking over time\nEach cycle appends to the register (or a history file beside it): observation date, per-domain renewal date, per-TLD list renewal price. This is how prior-year costs accumulate — the first pass could only mark them \"unknown\" (no invoice source reachable). Alert when a domain enters its renewal window (suggest ≤45 days; with auto-renew universal, the alert is about upcoming spend, not lapse risk) and when a renewal price changes cycle-over-cycle. If an invoice-grade source becomes available (Porkbun billing history, Gmail receipts), record actual charged amounts alongside list prices.\n\n### 3. Dashboard / aggregator view\nA view of the register data showing Drew's three lists: **next renewal** (with date + price), **completely unused**, **unused but earmarked** — fed by a structured export (e.g. `register.json`) the backup job emits alongside the Markdown register, consumed by the PM aggregator (same pattern as the fleet feed / quota panel).\n\n### 4. Gap-closers identified by the first pass\n- **Porkbun API key is domain-restricted**: `dns/retrieve` succeeds only for security.cab and refuses the other 38 domains, so zone-file-grade exports don't exist yet for the Porkbun-hosted zones (first pass used a public-DNS probe instead). Extend the key's domain allowlist in the Porkbun control panel, or file an unrestricted key in Bitwarden (by name) and point the job at it.\n- **Second Porkbun account**: drewrypope.com (expires 2028-06-14) and boats.dev (expires 2027-04-02) are Porkbun-registered but absent from the `developingtoday` API account — identify the account and bring both domains under the same inventory (auto-renew state and full exports are currently unknowable).\n- **security.cab expiry discrepancy**: Porkbun account says expires 2027-02-24 (created 2018-02-24); registry RDAP said 2027-08-14. Resolve against the Porkbun control panel and correct whichever source is wrong.\n\n## Acceptance\n\n- Backup job runs on schedule and produces a diffed snapshot without human prompting.\n- Register history shows ≥2 cycles of renewal/price observations appended automatically.\n- Aggregator renders the three lists from the structured export.\n- A test domain entering the renewal window produces the spend alert.\n\n## Acceptance criteria\n\n- A scheduled (weekly or better) read-only job exports the full DNS config for every owned zone/domain (Cloudflare + Porkbun) into a dated snapshot in the seed snapshot's format, using the Bitwarden-stored API credentials.\n- Each snapshot is diffed against the previous one; record changes, new/removed domains, expiry-date changes, and price changes are surfaced in the run output.\n- A renewal/cost history accumulates per domain (observation date, renewal date, list renewal price; actual charged amounts when an invoice-grade source is reachable).\n- An alert fires when a domain enters the renewal window (≤45 days) or a renewal price changes cycle-over-cycle.\n- A dashboard view shows the domain register sorted by next renewal, flagging unused and earmarked-but-unused domains.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-25T17:22:47Z","url":"https://github.com/developing-today/code/issues/902"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f105f10-5c3d-3641-1d75-67aa603312fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E120:23E430:177F13:1EE47C:6B06105F |
| html-safe-nonce | 0947f753fd11050810ae47a28c65f2d876dc51c0a9bac085d7ec642dbfb9afc9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTIwOjIzRTQzMDoxNzdGMTM6MUVFNDdDOjZCMDYxMDVGIiwidmlzaXRvcl9pZCI6IjUwNTUyMjI1MzgzNTIwNzA3NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ec86f56ad70f59c37e18d8e1d1aa2c0d88bea21d014debc9da3051ced3ebd4a6 |
| hovercard-subject-tag | issue:6027172911 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/902/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5a5e291145aeab510e811e85544f4fd607840b8319e3042ded410e3a46a66fc2/developing-today/code/issues/902 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a5e291145aeab510e811e85544f4fd607840b8319e3042ded410e3a46a66fc2/developing-today/code/issues/902 |
| og:image:alt | Context Drew's direction (2026-10-25): a standing registry of every domain/DNS name we own, a regular backup of the full DNS config for every zone, and one place to see which domain renews next, wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e58943f0186bb8d97b217393c2724a49ab47e4aefefc43595a90fa04699066c9 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 23517473abc6d5da019b4958bd421644e98a418b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width