MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
16.87k stars 2.67k forks source link

[Bug] DNS over QUIC无法走代理 #1203

Closed thesongofangrymen closed 7 months ago

thesongofangrymen commented 7 months ago

Verify steps

Mihomo version

alpha-gfeedc9e

What OS are you seeing the problem on?

Linux

Mihomo config

dns:
  enable: true
  ipv6: true
  listen: :23453
  enhanced-mode: redir-host
  prefer-h3: true
  proxy-server-nameserver:
    - https://223.5.5.5/dns-query#h3=true
  nameserver-policy:
    geosite:geolocation-cn:
      - quic://223.5.5.5
  nameserver:
    - https://1.1.1.1/dns-query#h3=true&Proxy

proxy-groups:
  - name: Proxy
    type: select
    proxies:
      - ss1
      - ss2

Mihomo log

No response

Description

如果dns设置为quic协议时,比如quic://1.1.1.1#Proxy或者quic://1.1.1.1/#Proxy则dns无法请求成功(我怀疑是dns没有被代理成功),但设置为doh时后面加#Proxy是可以代理dns的。

wwqgtxx commented 7 months ago

有没有可能1.1.1.1本来就不支持doq呢