You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep private name lookups working during DNS server upgrades #269
First measurement: during one node resolver rollout, a probe that looks up a private name saw about 75 seconds of SERVFAILs and timeouts from the first resolver address.
A second resolver on its own address doesn't prevent this. Many clients send almost every lookup to the first address and try the second only after a timeout.
The node resolver drains before it stops. It fails its health check first, keeps answering until traffic has moved, and then exits.
Some of the failures were SERVFAILs, which suggests a restarted resolver answers before it is ready. The health check would keep traffic away from it until it passes.
The description now explains the problem and expected outcome in plain language. The original report is preserved below for the observations, diagnostics, and implementation details behind this work. It describes the situation when the issue was reported; later comments and the issue state record subsequent progress.
Original report and engineering evidence
What happens
Each node has exactly one private DNS resolver, and an update replaces it by stopping the old one before starting the new one. Until the new resolver is serving, workloads on that node get failed lookups. In the us-central-1 staging lab this showed up as 691 failed lookups after the 21:13 UTC rollout on 2026-10-22 and 227 after the one before it.
This is separate from Private DNS briefly fails during zone updates. That issue covers failures while a zone switches versions on running resolvers. This one covers the resolver itself restarting.
Why it matters
Every operator upgrade, config change or node restart briefly breaks name resolution for every instance on the node. Workloads see this as random lookup failures.
Proposed fix
Run two independent resolvers per node, the same way the regional CoreDNS pair already works: separate identities, credentials, volumes and listen addresses. Give instances both addresses as nameservers, so a lookup that fails on one moves to the other. Keep the two from restarting at the same moment (for example with Flux dependsOn).
Serve immediately after a restart. A restarted resolver should answer from the last configuration it verified while it reconnects, instead of failing until every update and acknowledgement has arrived again. This shortens the gap even with a single resolver.
Measure how long the gap lasts per rollout and alert if it grows.
A plain start-before-stop rollout doesn't work today. A second pod would share the first one's identity, message consumer, volumes and listen address, so the two copies would collide.
Notes
Datum's own manifests live in the deployment repository. This repository owns serving after a restart and documenting the two-resolver layout.
changed the title [-]Private DNS on a node drops out during every node resolver rollout[/-][+]Keep private name lookups working during DNS server upgrades[/+]on Oct 29, 2026
However, the recorded rollout test still saw about 75 seconds of failed lookups from the first server address. Some applications continue trying that address before switching to another. Galactic's traffic sharing across healthy servers has since merged, but Private DNS still needs to use several healthy servers behind one address, move traffic away before a server stops, and verify the resulting upgrade behavior. Keeping this open until rollout testing meets the agreed interruption limit.
29 October staging validation: an explicitly approved, one-time replacement of the secondary central node resolver produced 8 one-second transport timeouts among 608 sampled private/public UDP/TCP queries. All failures were on its fd53::54 address; the surviving fd53::53 answered 304/304. The replaced address first answered correctly about 14 seconds after deletion, with 13 seconds between the first failed sample and first correct sample. These are sampled intervals, not a precise continuous outage measurement.
The unchanged Deployment, image/configuration and PVC restored successfully. Both addresses then returned correct answers for more than two minutes; revoked network access stayed denied. No other shared service was restarted. This does not validate primary-resolver loss, application resolver fallback, software upgrades, or host failure. No agreed interruption threshold was found, so recovery is verified but availability acceptance remains unresolved.
Both node resolvers and regional members still share one compute host per location. Staging remains mixed: most members run serving digest 215158266038990698fb55956624f3bc1c4a342d38df7d9908a12026f9f84427 with regional forwarding; east node-b runs 762e20b66d453db65c28259b8b0e45850fc86abd2c68d069d557d157a5f44062 with local private answers. Healthy-server traffic sharing, draining and an agreed interruption/recovery budget still need verification. Keep this issue open.
Superseded by #471. Instead of two independently addressed servers per host, several healthy servers now share one address, and each server drains before it stops (#472, live in production with v0.14.0). The remaining production work, a second server per host in us-east-1 and us-west-1, is tracked in #471 and datum-cloud/infra#8524.
Activity
scotwells commentedon Oct 24, 2026
First measurement: during one node resolver rollout, a probe that looks up a private name saw about 75 seconds of SERVFAILs and timeouts from the first resolver address.
A second resolver on its own address doesn't prevent this. Many clients send almost every lookup to the first address and try the second only after a timeout.
A fix needs two parts:
Some of the failures were SERVFAILs, which suggests a restarted resolver answers before it is ready. The health check would keep traffic away from it until it passes.
scotwells commentedon Oct 29, 2026
The description now explains the problem and expected outcome in plain language. The original report is preserved below for the observations, diagnostics, and implementation details behind this work. It describes the situation when the issue was reported; later comments and the issue state record subsequent progress.
Original report and engineering evidence
What happens
Each node has exactly one private DNS resolver, and an update replaces it by stopping the old one before starting the new one. Until the new resolver is serving, workloads on that node get failed lookups. In the us-central-1 staging lab this showed up as 691 failed lookups after the 21:13 UTC rollout on 2026-10-22 and 227 after the one before it.
This is separate from Private DNS briefly fails during zone updates. That issue covers failures while a zone switches versions on running resolvers. This one covers the resolver itself restarting.
Why it matters
Every operator upgrade, config change or node restart briefly breaks name resolution for every instance on the node. Workloads see this as random lookup failures.
Proposed fix
dependsOn).A plain start-before-stop rollout doesn't work today. A second pod would share the first one's identity, message consumer, volumes and listen address, so the two copies would collide.
Notes
[-]Private DNS on a node drops out during every node resolver rollout[/-][+]Keep private name lookups working during DNS server upgrades[/+]scotwells commentedon Oct 29, 2026
Support for giving workloads more than one DNS server and resuming service after a restart has merged. These provide the redundancy and recovery foundation needed for safer upgrades.
However, the recorded rollout test still saw about 75 seconds of failed lookups from the first server address. Some applications continue trying that address before switching to another. Galactic's traffic sharing across healthy servers has since merged, but Private DNS still needs to use several healthy servers behind one address, move traffic away before a server stops, and verify the resulting upgrade behavior. Keeping this open until rollout testing meets the agreed interruption limit.
scotwells commentedon Oct 29, 2026
29 October staging validation: an explicitly approved, one-time replacement of the secondary central node resolver produced 8 one-second transport timeouts among 608 sampled private/public UDP/TCP queries. All failures were on its
fd53::54address; the survivingfd53::53answered 304/304. The replaced address first answered correctly about 14 seconds after deletion, with 13 seconds between the first failed sample and first correct sample. These are sampled intervals, not a precise continuous outage measurement.The unchanged Deployment, image/configuration and PVC restored successfully. Both addresses then returned correct answers for more than two minutes; revoked network access stayed denied. No other shared service was restarted. This does not validate primary-resolver loss, application resolver fallback, software upgrades, or host failure. No agreed interruption threshold was found, so recovery is verified but availability acceptance remains unresolved.
Both node resolvers and regional members still share one compute host per location. Staging remains mixed: most members run serving digest
215158266038990698fb55956624f3bc1c4a342d38df7d9908a12026f9f84427with regional forwarding; east node-b runs762e20b66d453db65c28259b8b0e45850fc86abd2c68d069d557d157a5f44062with local private answers. Healthy-server traffic sharing, draining and an agreed interruption/recovery budget still need verification. Keep this issue open.scotwells commentedon Nov 11, 2026
Superseded by #471. Instead of two independently addressed servers per host, several healthy servers now share one address, and each server drains before it stops (#472, live in production with v0.14.0). The remaining production work, a second server per host in us-east-1 and us-west-1, is tracked in #471 and datum-cloud/infra#8524.