mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-11 11:51:46 +00:00
feat: DNS over TLS resolver
This commit is contained in:
@@ -71,6 +71,12 @@ func TestServerConfig(t *testing.T) {
|
||||
Addr: "4.6.8.0:53",
|
||||
Timeout: 2 * time.Second,
|
||||
},
|
||||
TLS: serverConfigResolverTLS{
|
||||
Addr: "dot.yolo.com:8853",
|
||||
Timeout: 10 * time.Second,
|
||||
SNI: "server1.yolo.net",
|
||||
Insecure: true,
|
||||
},
|
||||
},
|
||||
Masquerade: serverConfigMasquerade{
|
||||
Type: "proxy",
|
||||
|
Reference in New Issue
Block a user