eycorsican / kitsunebi-android

A fully-featured V2Ray client for Android.
MIT License
1.78k stars 317 forks source link

不能正确处理DOH和 DOHL设置 #150

Open ha-ku opened 4 years ago

ha-ku commented 4 years ago

你正在使用哪个版本?

1.8.0

使用最新版本是否还遇到同样的问题?

你的手机型号和手机操作系统版本是多少?

小米10,MIUI 11 20.3.5,Android 10

你遇到了什么问题?

规则集中的HTTPS和HTTPS+LOCAL的DNS设置不能被正确地parse IMG_20200309_105710

你遇到的问题可以用固定步骤重现吗?

可以

你正使用的配置

`[RoutingRule]
# adblock
DOMAIN-SUFFIX, googleads.g.doubleclick.net, Block
DOMAIN-KEYWORD, geosite:category-ads, Block

DOMAIN-KEYWORD, geosite:google, Proxy
DOMAIN-SUFFIX, spotify.com, Proxy

# Bypass mainland china domains.
DOMAIN-KEYWORD, geosite:cn, Direct

# Bypass dns server
DOMAIN-SUFFIX, rubyfish.cn, Direct
DOMAIN-SUFFIX, 233py.com, Direct

# Bypass mainland china IPs and LAN IPs.
GEOIP, cn, Direct
GEOIP, private, Direct

DOMAIN-SUFFIX, mkzhan.com, Direct
DOMAIN-SUFFIX, mkzcdn.com, Direct
DOMAIN-SUFFIX, age.fan, Direct
DOMAIN-SUFFIX, agefans.tv, Direct
DOMAIN-SUFFIX, bilibili.com, Direct
DOMAIN-SUFFIX, miui.com, Direct

# Other requests go through the proxy.
FINAL, Proxy

[RoutingDomainStrategy]
AsIs

[FreedomDomainStrategy]
UseIP

[LocalPolicy]
bufferSize = 4096
connIdle = 300
downlinkOnly = 0
handshake = 4
uplinkOnly = 0

[DnsServer]
https+local://dns.rubyfish.cn/dns-query, ruby
https+local://i.233py.com/dns-query, geek

[DnsRule]
# rubyfish
DOMAIN-KEYWORD, geosite:cn, ruby
DOMAIN-KEYWORD, geosite:tencent, ruby
DOMAIN-KEYWORD, geosite:alibaba, ruby
DOMAIN-KEYWORD, geosite:baidu, ruby
DOMAIN-KEYWORD, geosite:bilibili, ruby
DOMAIN-KEYWORD, geosite:coolapk, ruby
DOMAIN-KEYWORD, geosite:geolocation-cn, ruby
DOMAIN-KEYWORD, geosite:huawei, ruby
DOMAIN-KEYWORD, geosite:jd, ruby
DOMAIN-KEYWORD, geosite:netease, ruby
DOMAIN-KEYWORD, geosite:sina, ruby
DOMAIN-KEYWORD, geosite:xiaomi, ruby
DOMAIN-KEYWORD, geosite:yandex, ruby
DOMAIN-KEYWORD, geosite:zhihu, ruby
DOMAIN-KEYWORD, geosite:microsoft, ruby
# GeekDNS
DOMAIN-KEYWORD, geosite:cn, geek
DOMAIN-KEYWORD, geosite:tencent, geek
DOMAIN-KEYWORD, geosite:alibaba, geek
DOMAIN-KEYWORD, geosite:baidu, geek
DOMAIN-KEYWORD, geosite:bilibili, geek
DOMAIN-KEYWORD, geosite:coolapk, geek
DOMAIN-KEYWORD, geosite:geolocation-cn, geek
DOMAIN-KEYWORD, geosite:huawei, gekk
DOMAIN-KEYWORD, geosite:jd, geek
DOMAIN-KEYWORD, geosite:netease, geek
DOMAIN-KEYWORD, geosite:sina, geek
DOMAIN-KEYWORD, geosite:xiaomi, geek
DOMAIN-KEYWORD, geosite:yandex, geek
DOMAIN-KEYWORD, geosite:zhihu, geek
DOMAIN-KEYWORD, geosite:microsoft, geek

[DnsHost]

[DnsClientIp]

[Log]
loglevel = none

[PerAppVpn]

[PerAppMode]

[PerAppAllow]

[PerAppDisallow]`

<!-- 请把你的配置文件复制至此 (建议把服务器和用户信息去掉) -->