Verify steps
操作系统
Windows
系统版本
Windows 11
Mihomo 版本
Mihomo Meta alpha-6c03830 windows amd64 with go1.23.1 Tue Sep 24 05:28:14 UTC 2024
配置文件
tun:
stack: gvisor
device: Mihomo
auto-route: true
auto-detect-interface: true
dns-hijack:
- any:53
strict-route: false
mtu: 1500
enable: true
dns:
enable: true
prefer-h3: true
use-hosts: true
use-system-hosts: true
respect-rules: false
ipv6: true
listen: 127.0.0.1:8853
enhanced-mode: fake-ip
fake-ip-range: 28.0.0.0/8
default-nameserver:
- 119.29.29.29
- 223.5.5.5
proxy-server-nameserver:
- https://dns.alidns.com/dns-query
nameserver:
- https://dns.alidns.com/dns-query
rules:
- AND,((DST-PORT,443),(NETWORK,udp)),REJECT
描述
规则中添加了 AND,((DST-PORT,443),(NETWORK,udp)),REJECT 用于避免走QUIC,但是我仍然希望DoH3可以走UDP,希望DNS直接直连出去,配置了 respect-rules: false,之后发现log中还是出现了DoH3被REJECT的记录
重现方式
dns中添加支持DoH3的dns,并配置 prefer-h3: true 和 respect-rules: false
日志
[UDP] 28.0.0.0:62302(verge-mihomo-alpha.exe) --> dns.alidns.com:443 match AND(((DstPort,443) && (Network,udp))) using REJECT
Verify steps
操作系统
Windows
系统版本
Windows 11
Mihomo 版本
Mihomo Meta alpha-6c03830 windows amd64 with go1.23.1 Tue Sep 24 05:28:14 UTC 2024
配置文件
描述
规则中添加了
AND,((DST-PORT,443),(NETWORK,udp)),REJECT用于避免走QUIC,但是我仍然希望DoH3可以走UDP,希望DNS直接直连出去,配置了respect-rules: false,之后发现log中还是出现了DoH3被REJECT的记录重现方式
dns中添加支持DoH3的dns,并配置
prefer-h3: true和respect-rules: false日志