mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-24 15:47:59 +03:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0991024b45 | ||
|
|
fdb9b616fc |
@@ -145,6 +145,8 @@
|
||||
- [v2rayN](https://github.com/2dust/v2rayN)
|
||||
- [GenyConnect](https://github.com/genyleap/GenyConnect)
|
||||
- [OneXray](https://github.com/OneXray/OneXray)
|
||||
- HarmonyOS
|
||||
- [Hey](https://github.com/popsiclelmlm/Hey)
|
||||
|
||||
## Others that support VLESS, XTLS, REALITY, XUDP, PLUX...
|
||||
|
||||
|
||||
@@ -234,6 +234,9 @@ func dnsQuery(server string, domain string, sockopt *internet.SocketConfig) ([]b
|
||||
if err != nil {
|
||||
return nil, 0, err
|
||||
}
|
||||
// h2c: in config is just for claim
|
||||
// change scheme to https and expect outbound to handle TLS (freedom + tlsSetting)
|
||||
req.URL.Scheme = "https"
|
||||
req.Header.Set("Accept", "application/dns-message")
|
||||
req.Header.Set("Content-Type", "application/dns-message")
|
||||
utils.TryDefaultHeadersWith(req.Header, "fetch")
|
||||
|
||||
Reference in New Issue
Block a user