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
Windows spored never signs DNS requests, so Windows DNS (and DNS leases) are refused #883
Found during the real Windows validation of #879 (2026-10-13), on a Windows Server 2025 spore running spored v0.128.0:
spawn:dns-status = failed
spawn:dns-error = DNS API returned HTTP 403: {"Message":"Forbidden"}
The instance is in 435415984226, which is on the DNS updater's allowlist, so this is not the resource-policy narrowing from #835. {"Message":"Forbidden"} is the Function URL's own refusal, and that is what an unsigned request to an AuthType: AWS_IAM URL gets regardless of resource policy.
Why Windows requests are unsigned
spored signs only when SPORE_DNS_SIGV4 is set (pkg/dns/client.go: return os.Getenv("SPORE_DNS_SIGV4") != ""). It is set in exactly three places, all Linux systemd units:
The Windows service (cmd/spored/service_windows.go, installed by spored service install) sets no environment. So Windows spored has sent unsigned DNS requests since the #173 cutover to AWS_IAM, and — very likely — no Windows spore has registered DNS since. It also means the DNS lease (#875) cannot work on Windows.
Fix
The opt-in existed to stage the #173 rollout: ship a signing client before flipping the URL to AWS_IAM. The flip happened, so signing is no longer optional — an unsigned request can only ever be refused.
Make signing the default in pkg/dns rather than an opt-in, keeping an explicit opt-OUT only if some deployment genuinely runs a non-IAM DNS endpoint.
Gate: a client built with no environment signs its requests.
Ships in spored, so it reaches instances only via a release.
Activity
Sign DNS requests by default, for the endpoint's region (#883)
Sign DNS requests by default, for the endpoint's region (#883) (#889)