mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-11-16 21:17:41 +00:00
When ECH is enabled without a static config, the HTTPS record query for the ECH config list went through the DNS rules instead of the domain resolver, and the migration of outbound DNS rule items to the domain resolver left no way to select a DNS server for it. A rule rejecting HTTPS records refused the query, and a default DNS server detoured through the same outbound waited for its own connection until the query timed out. Send the query to the domain resolver of the dial fields, then the default domain resolver, then the only DNS server, and fail it when none of them is available. DNS servers must set their own domain resolver for it, as they do for a domain server address. |
||
|---|---|---|
| .. | ||
| apple_transport_darwin.go | ||
| apple_transport_darwin.h | ||
| apple_transport_darwin.m | ||
| apple_transport_darwin_test.go | ||
| apple_transport_stub.go | ||
| client.go | ||
| context.go | ||
| helpers.go | ||
| helpers_test.go | ||
| http1_transport.go | ||
| http2_config.go | ||
| http2_fallback_transport.go | ||
| http2_fallback_transport_test.go | ||
| http2_transport.go | ||
| http3_transport.go | ||
| http3_transport_stub.go | ||
| http3_transport_test.go | ||
| managed_transport.go | ||
| manager.go | ||