own-VPS front door: acme-dns wildcard :53 bind loses to systemd-resolved and deadlocks silently — Caddy never starts, the public door has never served #502
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#502
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Drive
20260813T025903Z(and every own-VPS drive before it — masked until #499/#501 madepublic-entryhonest): the takeover gateway's public front door NEVER serves. Complete causal chain, every link evidenced:droplet-journal.txt:systemd-resolved[742]up at 03:05:18) with its DNS stub listener on127.0.0.53:53.listen = "0.0.0.0:53"(internal/clan/acmedns.gorenderAcmeDNSService); a wildcard:53bind EADDRINUSEs against the stub listener.pkg/nameserver/initialize.go InitAndStart, "both" branch): main blocks onwaitLock.Lock()until the UDP server'sNotifyStartedFuncfires — fired only on SUCCESSFUL start (dns.Server.NotifyStartedFunc); on a bind errorStartsends toerrChan, which nothing reads untilInitAndStartreturns — it never does. Journal signature: exactly three acme-dns lines (Using config file,Starting up,Starting DNS listener {0.0.0.0:53, udp}), then silence forever. No TCP listener line, noListening HTTP(api.go logs that BEFORE binding — never reached).127.0.0.1:8081never binds →acme-dns-register's #431 health poll honestly exhausts its full 300×1s (journal: 301 refused curls, unit fails at 03:10:24) → Caddy (after/requires the register) never starts →https://id.<apex>/https://<apex>never answer → #499's door probe honestly runs its full 120×5s and the deploy declares failed.Fix (product render, swarm-landable, next drive verifies)
In
internal/clan/acmedns.gorenderAcmeDNSService: bind acme-dns to the gateway's PUBLIC IP instead of the wildcard —cfg.GatewayIPis already in the render (the zone's glue A records use it). A scoped bind coexists with resolved's127.0.0.53stub, keeps the box's own resolution untouched (less invasive thanDNSStubListener=no), and is exactly the surface LE's validating resolvers dial. Update the seam test pinning the listen line (acmedns_test.go) and keep the eval smoke green.Also in scope if small: a GOTCHAS entry for the deadlock signature (three-line acme-dns journal = failed :53 bind swallowed upstream). Out of scope (note only): an upstream acme-dns issue — a failed bind should crash loud, not hang; and drive 7's second finding, the deploy failure after all-rows-green never rendered
[data-status="journey-fault"](the 15-min silent finish leg) — file separately if the reporter hasn't.swarm-claim host=matou-dev-server-01 run=5548
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #502 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope