mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
set alidns as one of default doh providers
This commit is contained in:
1 parent
52bf0ac34b
commit
def8eb6860
4 files changed
+6
-7
No files matched your search
@@ -166,11 +166,11 @@ export default {
|
||||
dohPriorityList: "Priority list of DoH Servers",
|
||||
messages: [
|
||||
"DoH(DNS over HTTPS) can be used to prevent dns spoofing, but some public DoH servers are not access in specific areas. You should choose the fastest and stablest DoH server.",
|
||||
"Awesome public DoH servers in Mainland China include geekdns, rubyfish, etc",
|
||||
"Awesome public DoH servers in Mainland China include alidns, geekdns, rubyfish, etc",
|
||||
"In taiwan area include quad101, etc",
|
||||
"USA: cloudflare, dns.google, etc",
|
||||
'Checklist:<a href="https://dnscrypt.info/public-servers" target="_blank">public-servers</a>',
|
||||
'Besides, setting up DoH service at your own server doesn\'t suffer dns spoofing is suggested and well-behaved int most cases. <a href="https://dnscrypt.info/implementations" target="_blank">Server Implementations</a>',
|
||||
'Besides, setting up DoH service at your own server doesn\'t suffer dns spoofing is suggested and well-behaved int most cases. <a href="https://hub.docker.com/r/flexo3001/rust-doh" target="_blank">rust-doh</a>',
|
||||
"Optimally, place one or two lines above. The list will restore to default after saving with empty content."
|
||||
]
|
||||
},
|
||||
|
||||
@@ -164,11 +164,11 @@ export default {
|
||||
dohPriorityList: "DoH服务优先级列表",
|
||||
messages: [
|
||||
"DoH即DNS over HTTPS,能够有效避免DNS污染,但一些DoH提供商的DoH服务可能被墙,请自行选择非代理条件下直连速度最快的DoH提供商",
|
||||
"大陆较好的DoH服务有geekdns: 233py.com、红鱼: rubyfish.cn等",
|
||||
"大陆较好的DoH服务有阿里dns, geekdns, rubyfish等",
|
||||
"台湾有quad101: dns.twnic.tw等",
|
||||
"美国有cloudflare: 1.0.0.1等",
|
||||
'清单:<a href="https://dnscrypt.info/public-servers" target="_blank">public-servers</a>',
|
||||
'另外,您可以在未受到DNS污染的国内服务器上自架DoH服务,以纵享丝滑。<a href="https://dnscrypt.info/implementations" target="_blank">Server Implementations</a>',
|
||||
'另外,您可以在未受到DNS污染的国内服务器上自架DoH服务,以纵享丝滑。<a href="https://hub.docker.com/r/flexo3001/rust-doh" target="_blank">rust-doh</a>',
|
||||
"建议上述列表1-2行即可,留空保存可恢复默认"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -35,7 +35,6 @@ func toHeader(r rune) string {
|
||||
} else if _, ok := reserve[r]; ok {
|
||||
return string(r)
|
||||
} else {
|
||||
//n是不包含:及界符集合o的所有标点符号
|
||||
return "n"
|
||||
}
|
||||
case unicode.IsDigit(r):
|
||||
|
||||
@@ -153,8 +153,8 @@ func GetDohListNotNil() *string {
|
||||
r := new(string)
|
||||
_ = persistence.Get("dohList", &r)
|
||||
if len(strings.TrimSpace(*r)) == 0 {
|
||||
*r = `https://dns.rubyfish.cn/dns-query
|
||||
https://i.233py.com/dns-query`
|
||||
*r = `https://dns.alidns.com/dns-query
|
||||
https://dns.rubyfish.cn/dns-query`
|
||||
}
|
||||
return r
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user