Title: Manage DNS records from Server and Domain declarations · Issue #200 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Manage DNS records from Server and Domain declarations · Issue #200 · cloudfall-dev/cloudfall
X Title: Manage DNS records from Server and Domain declarations · Issue #200 · cloudfall-dev/cloudfall
Description: Problem Cloudfall knows every name a fleet should answer to, but never writes a DNS record: A Server declares hostname, network.ipv4, network.ipv6Cidr and network.reverseDns A Domain declares primaryName, aliases, the proxy.server the na...
Open Graph Description: Problem Cloudfall knows every name a fleet should answer to, but never writes a DNS record: A Server declares hostname, network.ipv4, network.ipv6Cidr and network.reverseDns A Domain declares prima...
X Description: Problem Cloudfall knows every name a fleet should answer to, but never writes a DNS record: A Server declares hostname, network.ipv4, network.ipv6Cidr and network.reverseDns A Domain declares prima...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/200
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Manage DNS records from Server and Domain declarations","articleBody":"## Problem\n\nCloudfall knows every name a fleet should answer to, but never writes a DNS record:\n\n- A `Server` declares `hostname`, `network.ipv4`, `network.ipv6Cidr` and `network.reverseDns`\n- A `Domain` declares `primaryName`, `aliases`, the `proxy.server` the names point at, and `edge.provider: cloudflare` with `mode: dns-only` or `proxied`\n- `domains apply --issue-certificate` already checks that every name resolves to the proxy server and refuses with `domains_dns_unverified` when it does not\n\nSo the operator reads the declarations and creates the same records by hand in the DNS provider, and the agent can only report the mismatch. Each new host and each new site is a manual step outside the record, with no plan, no receipt and no drift check. Bringing up a new host recently meant: A and AAAA for its hostname by hand with the provider's CLI, the PTR by hand in the hosting provider's panel, then a manual `reverseDns` edit in `servers/\u003cid>.yaml`.\n\n## Proposal\n\nRecords derived from what is already declared, converged with the same plan/apply contract as `domains apply`:\n\n- From `Server`: A and AAAA for `hostname` (from `network.ipv4` and the host address in `network.ipv6Cidr`), when the hostname lies in a zone the project manages\n- From `Domain`: A/AAAA (or CNAME) for `primaryName` and each alias, pointing at `proxy.server`, `proxied` following `edge.mode`\n- `cloudfall dns plan` lists creates, updates and deletes per zone; `cloudfall dns apply --yes` makes them and writes a receipt; `cloudfall dns observe` reports drift between the declared and the live records\n- Only records Cloudfall created are ever updated or deleted (marked by a record comment or tag); anything else in the zone is left alone and reported as unmanaged\n- The API token comes from `secretRefs` and should be scoped to the managed zones; a zone is declared once per project (provider `cloudflare` first)\n\nOut of scope for the first slice, but worth shaping for: PTR through the hosting provider's API (Hetzner Robot and Cloud expose it), and other DNS providers.\n\n## Open questions\n\n- A new `DnsZone` kind (zone, provider, token ref), or a `dns` block on existing resources\n- Whether `domains apply` should create missing records itself before `--issue-certificate`, or keep refusing and point at `dns apply`\n- TTL and record comment conventions\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-12T16:49:33Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/200"}
| 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:83e817b9-9700-c5ec-b2d9-7d7c8e193dc7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C19E:26AE17:1885F6A:202237B:6B0550E1 |
| html-safe-nonce | b6f16e4b9a90f9a713f037d4020635229b95eca8e1b0282ba557caac6648a1fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTlFOjI2QUUxNzoxODg1RjZBOjIwMjIzN0I6NkIwNTUwRTEiLCJ2aXNpdG9yX2lkIjoiNzMxNTYxMjgyNzc5NTE0OTAyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aa669f626c65bcc0ed6100b0f3a51c52ceb5b4232264601e4db0f7036140fec4 |
| hovercard-subject-tag | issue:6354671011 |
| 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/cloudfall-dev/cloudfall/200/issue_layout |
| twitter:image | https://opengraph.githubassets.com/03faaa19fe65cbe5aa0098c0f4d72295201fc5b2902158ee2bc5b43275170aef/cloudfall-dev/cloudfall/issues/200 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/03faaa19fe65cbe5aa0098c0f4d72295201fc5b2902158ee2bc5b43275170aef/cloudfall-dev/cloudfall/issues/200 |
| og:image:alt | Problem Cloudfall knows every name a fleet should answer to, but never writes a DNS record: A Server declares hostname, network.ipv4, network.ipv6Cidr and network.reverseDns A Domain declares prima... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| 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