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
P1: mesh DNS resolution broken for managed pods on rev 175 (masked by DNS-bypassing prober) #574
Severity: P1 (masked outage). Managed pods cannot resolve *.aether.internal on chart 0.81.0-1f6ce77 (rev 175). Every name-based mesh client fails; the only reason nothing alarmed is that the external prober dials 127.0.0.1:18081 with a Host: header and never does DNS, and the standing test workloads (svc-1..5, client, echo, tcp-echo) are all servers/sleepers (client = sleep infinity) that never originate name-based calls. The only DNS-originating client is k6 — which failed 100% in both the overnight soak and a follow-up rerun.
Evidence
Three managed probe pods (label aether.io/managed:"true", ndots:2 injected), three nodes, three pod types — all fail to resolve svc-1.aether.internal:
bare Pod (main-worker-04): connection timed out; no servers could be reached (blackhole)
k6-operator Job (soak + rerun): server misbehaving (SERVFAIL)
Deployment (main-worker-01): NXDOMAIN
Agent side is HEALTHY on the same node: pod classified managed (adding pod to storage), listeners built (22), and capture/reconciler.go:131 projected mesh-Service authorities + DNS records meshServices:12 dnsRecords:12. So the control plane HAS the records; resolution still fails → the break is in the mesh-DNS listener/serving or the CNI :53 redirect data path, not in record projection.
coredns has NO aether.internal zone and forwards it upstream (forward . /etc/resolv.conf), so *.aether.internal is served ONLY by the agent's --mesh-dns listener via the CNI :53 capture redirect. That path is not delivering answers.
Regression window
Worked on rev 172 / chart 0.78.0 (2026-07-18 soak: mesh k6 0.041% success — k6 resolved names fine). Broken on rev 175 / 0.81.0. The delta is the entire 2026-07-19 batch: perf #537-545, complexity campaign #556 (which refactored capture.go — the mesh-DNS listener builder — in #562/#560), constants split #552, fix wave #570-573. Prime suspects: the structure-only capture.go refactor (#562) or the GAMMA/capture precompute (#540). A power-blip confound exists (mesh DNS could have broken environmentally at the blip) but the agent rebuilds the DNS listener+records cleanly, pointing at code.
Next
Bisect the mesh-DNS listener build + CNI :53 redirect between 5ff334b (0.78.0) and HEAD (0.81.0). Add an EXTERNAL mesh-DNS probe to the soak harness (name-based, not 127.0.0.1) so this can never hide again — the prober's DNS-bypass is the reason an 8h "PASS" masked a DNS outage.
Isolation update — NOT cluster network; it's the aether mesh-DNS records, not the redirect/listener path
Ruled out cluster-level / L2 regression:
Unmanaged pod (worker-02): resolves cluster.local (kubernetes.default → 10.96.0.1), coredns 10.96.0.10:53 reachable. Base pod networking healthy.
Managed pod (worker-02): resolves cluster.local FINE, but svc-1.aether.internal → NXDOMAIN.
Since a managed pod's cluster.local resolves, the :53 path (redirect → mesh-DNS listener → forward non-mesh to coredns) is INTACT and the listener is up. The mesh-DNS listener simply does not serve the aether records — despite the agent logging dnsRecords:12 projected. So the regression is in how projected DNS records reach/populate the serving listener, NOT the listener existence or the CNI :53 redirect.
This strongly implicates a record-wiring / memoization regression: e.g. #540 (GAMMA route-domain + effective-route precompute) or a depGen-keyed memo (#539) caching an empty DNS-record set from first build before records arrive and never recomputing when SetServiceRoutes/DNS records change. Focus the bisect there.
MAC note (infra, not the cause): worker-02 and worker-03 flannel.1 VXLAN VTEP MACs share 4 middle octets (6e:f7:95:c1:52:33 vs 6a:f7:95:c1:52:32) — correlated generation, likely a power-blip artifact. Not causing this (managed pod resolves cluster.local over that overlay), but worth an infra cleanup.
Node-varying symptoms (NXDOMAIN worker-02 / blackhole worker-04 / SERVFAIL k6) reflect per-node proxy snapshot state, consistent with a memo that recomputes (or not) depending on each node's reconcile ordering — another memo-invalidation tell.
RESOLVED — not a bug. Mesh DNS is fully healthy; this was stale test/probe DNS names.
Direct query to the resolver (bypassing the CNI :53 DNAT) at hostIP:18054 on worker-02:
svc-1.aether.internal -> NXDOMAIN
svc-1.aether-test.aether.internal -> 10.107.170.84 OK
echo.aether.internal -> NXDOMAIN
echo.aether-test.aether.internal -> 10.107.177.205 OK
Records are namespace-qualified<svc>.<ns>.aether.internal (agent/internal/capture/reconciler.go:106-112 — keyed on serviceref.New(ns,name).Key(), the 020 <ns>/<svc> identity). Flat <svc>.aether.internal was never a record. The webhook injects ndots:2 (controller/internal/podmutate/mutator.go:80) precisely so the 3-dot qualified FQDN resolves absolute-first. Confirmed cluster network is healthy (unmanaged AND managed pods resolve cluster.local; coredns reachable); MACs distinct (one cosmetic flannel VTEP correlation on w02/w03, unrelated). Root-cause agent independently found no code regression in the DNS/CNI path 0.78.0->0.81.0.
The k6 soak script + my probes used the flat form -> NXDOMAIN. Fixed the k6-mesh-soak-script configmap to namespace-qualified names.
Remaining real follow-ups (moved off this issue):
Add an EXTERNAL name-based mesh-DNS probe (correct qualified names) to the soak harness — the current prober dials 127.0.0.1 and bypasses DNS, so a genuine future mesh-DNS regression would still hide. This gap is real even though today's alarm was false.
Reconcile the 07-18 baseline: that soak recorded mesh-k6 0.041% success with what appears to be the same flat-name configmap — either the script drifted to flat since, or that run's naming differed. Low priority (mesh DNS demonstrably works), but worth confirming the soak has genuinely exercised mesh DNS historically.
Activity
bpalermo commentedon Jul 20, 2026
Isolation update — NOT cluster network; it's the aether mesh-DNS records, not the redirect/listener path
Ruled out cluster-level / L2 regression:
cluster.local(kubernetes.default → 10.96.0.1), coredns 10.96.0.10:53 reachable. Base pod networking healthy.cluster.localFINE, butsvc-1.aether.internal→ NXDOMAIN.Since a managed pod's
cluster.localresolves, the:53path (redirect → mesh-DNS listener → forward non-mesh to coredns) is INTACT and the listener is up. The mesh-DNS listener simply does not serve the aether records — despite the agent loggingdnsRecords:12projected. So the regression is in how projected DNS records reach/populate the serving listener, NOT the listener existence or the CNI:53redirect.This strongly implicates a record-wiring / memoization regression: e.g. #540 (GAMMA route-domain + effective-route precompute) or a
depGen-keyed memo (#539) caching an empty DNS-record set from first build before records arrive and never recomputing whenSetServiceRoutes/DNS records change. Focus the bisect there.MAC note (infra, not the cause): worker-02 and worker-03 flannel.1 VXLAN VTEP MACs share 4 middle octets (
6e:f7:95:c1:52:33vs6a:f7:95:c1:52:32) — correlated generation, likely a power-blip artifact. Not causing this (managed pod resolves cluster.local over that overlay), but worth an infra cleanup.Node-varying symptoms (NXDOMAIN worker-02 / blackhole worker-04 / SERVFAIL k6) reflect per-node proxy snapshot state, consistent with a memo that recomputes (or not) depending on each node's reconcile ordering — another memo-invalidation tell.
bpalermo commentedon Jul 20, 2026
RESOLVED — not a bug. Mesh DNS is fully healthy; this was stale test/probe DNS names.
Direct query to the resolver (bypassing the CNI :53 DNAT) at hostIP:18054 on worker-02:
Records are namespace-qualified
<svc>.<ns>.aether.internal(agent/internal/capture/reconciler.go:106-112 — keyed onserviceref.New(ns,name).Key(), the 020<ns>/<svc>identity). Flat<svc>.aether.internalwas never a record. The webhook injectsndots:2(controller/internal/podmutate/mutator.go:80) precisely so the 3-dot qualified FQDN resolves absolute-first. Confirmed cluster network is healthy (unmanaged AND managed pods resolve cluster.local; coredns reachable); MACs distinct (one cosmetic flannel VTEP correlation on w02/w03, unrelated). Root-cause agent independently found no code regression in the DNS/CNI path 0.78.0->0.81.0.The k6 soak script + my probes used the flat form -> NXDOMAIN. Fixed the k6-mesh-soak-script configmap to namespace-qualified names.
Remaining real follow-ups (moved off this issue):
feat(prober): add mesh_dns tier that resolves service names to close …
fix(prober): stop the mesh_dns SLI measuring the prober's own CPU quo…