Skip to content

Commit 9a2b333

Browse files
bsquizzclaude
andcommitted
fix: use hickory-dns to avoid musl getaddrinfo failures in Kubernetes
The supervisor binary is statically linked with musl libc, whose getaddrinfo sends A+AAAA queries simultaneously on a single UDP socket. With Kubernetes' default ndots:5 and multiple search domains, external FQDNs get expanded through all search domains first, generating 12+ concurrent queries whose responses arrive out of order — causing musl to return zero usable addresses and the router to emit 503 "inference service unavailable". Enable the `hickory-dns` feature on reqwest so all HTTP clients use a pure-Rust DNS resolver instead of musl's getaddrinfo. This bypasses the concurrent A+AAAA issue entirely and aligns with the supervisor's static-binary design (no libc dependency for DNS). Fixes #2053 Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent a5161d0 commit 9a2b333

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ apollo-parser = "0.8.5"
7676
tower-mcp-types = "0.12.0"
7777

7878
# HTTP client
79-
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-native-roots"] }
79+
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-native-roots", "hickory-dns"] }
8080

8181
# WebSocket
8282
tokio-tungstenite = { version = "0.26", features = ["rustls-tls-native-roots"] }

0 commit comments

Comments
 (0)