MetaCubeX / mihomo

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

tuic协议 udp类型的dns无法通过 #739

Open GeorgeRudd opened 1 year ago

GeorgeRudd commented 1 year ago

clash.meta-windows-amd64-alpha-7286391

udp类型的dns无法走tuic代理

配置文件 ```yaml external-ui: yacd-meta tun: enable: true stack: system dns-hijack: - 'any:53' - 'tcp://any:53' auto-route: true auto-detect-interface: true strict-route: true proxy-groups: - name: 节点选择 type: select proxies: - tuic - vmess proxies: - name: tuic server: "ip" port: port type: tuic uuid: uuid password: password alpn: [h3] disable-sni: false reduce-rtt: false congestion-controller: bbr # Available: "cubic", "new_reno", "bbr". Default: "cubic" fast-open: true skip-cert-verify: false sni: domain.com udp-over-stream: true - name: vmess type: vmess server: ip port: port uuid: uuid alterId: 0 cipher: auto network: grpc tls: true udp: true xudp: true tfo: true ip-version: ipv4 skip-cert-verify: false client-fingerprint: chrome servername: servername.com grpc-opts: grpc-service-name: "name" port: 7890 # HTTP(S) 代理服务器端口 socks-port: 7891 # SOCKS5 代理端口 mixed-port: 10801 # HTTP(S) 和 SOCKS 代理混合端口 inbound-tfo: true mode: rule ipv6: true log-level: debug find-process-mode: always allow-lan: false geodata-mode: true tcp-concurrent: true rules: - AND,((NETWORK,UDP),(DST-PORT,443)),REJECT - DOMAIN,services.googleapis.cn,节点选择 - DOMAIN-SUFFIX,jike.info,节点选择 - GEOSITE,cn,DIRECT - GEOSITE,private,DIRECT - GEOSITE,geolocation-!cn,节点选择 - GEOIP,cn,DIRECT - GEOIP,private,DIRECT - MATCH,节点选择 - MATCH,REJECT dns: enable: true enhanced-mode: fake-ip use-hosts: true nameserver-policy: 'geosite:cn': - 223.5.5.5 'geosite:private': - 223.5.5.5 nameserver: # - '1.1.1.1#节点选择' - '8.8.8.8#节点选择' proxy-server-nameserver: - 223.5.5.5 fake-ip-filter: #https://github.com/vernesong/OpenClash/blob/master/luci-app-openclash/root/etc/openclash/custom/openclash_custom_fake_filter.list #LAN - '*.lan' - '*.localdomain' - '*.example' - '*.invalid' - '*.localhost' - '*.test' - '*.local' - '*.home.arpa' #放行NTP服务 - 'time.*.com' - 'time.*.gov' - 'time.*.edu.cn' - 'time.*.apple.com' - 'time-ios.apple.com' - 'time1.*.com' - 'time2.*.com' - 'time3.*.com' - 'time4.*.com' - 'time5.*.com' - 'time6.*.com' - 'time7.*.com' - 'ntp.*.com' - 'ntp1.*.com' - 'ntp2.*.com' - 'ntp3.*.com' - 'ntp4.*.com' - 'ntp5.*.com' - 'ntp6.*.com' - 'ntp7.*.com' - '*.time.edu.cn' - '*.ntp.org.cn' - '+.pool.ntp.org' - 'time1.cloud.tencent.com' #放行网易云音乐 - 'music.163.com' - '*.music.163.com' - '*.126.net' #百度音乐 - 'musicapi.taihe.com' - 'music.taihe.com' #酷狗音乐 - 'songsearch.kugou.com' - 'trackercdn.kugou.com' #酷我音乐 - '*.kuwo.cn' #JOOX音乐 - 'api-jooxtt.sanook.com' - 'api.joox.com' - 'joox.com' #QQ音乐 - 'y.qq.com' - '*.y.qq.com' - 'streamoc.music.tc.qq.com' - 'mobileoc.music.tc.qq.com' - 'isure.stream.qqmusic.qq.com' - 'dl.stream.qqmusic.qq.com' - 'aqqmusic.tc.qq.com' - 'amobile.music.tc.qq.com' #虾米音乐 - '*.xiami.com' #咪咕音乐 - '*.music.migu.cn' - 'music.migu.cn' #win10本地连接检测 - '+.msftconnecttest.com' - '+.msftncsi.com' #QQ登录 - 'localhost.ptlogin2.qq.com' - 'localhost.sec.qq.com' - '+.qq.com' - '+.tencent.com' #Game #Nintendo Switch - '+.srv.nintendo.net' - '*.n.n.srv.nintendo.net' #Sony PlayStation - '+.stun.playstation.net' #Microsoft Xbox - 'xbox.*.*.microsoft.com' - '*.*.xboxlive.com' - 'xbox.*.microsoft.com' - 'xnotify.xboxlive.com' #Wotgame - '+.battlenet.com.cn' - '+.wotgame.cn' - '+.wggames.cn' - '+.wowsgame.cn' - '+.wargaming.net' #Golang - 'proxy.golang.org' #STUN - 'stun.*.*' - 'stun.*.*.*' - '+.stun.*.*' - '+.stun.*.*.*' - '+.stun.*.*.*.*' - '+.stun.*.*.*.*.*' #Linksys Router - 'heartbeat.belkin.com' - '*.linksys.com' - '*.linksyssmartwifi.com' #ASUS Router - '*.router.asus.com' #Apple Software Update Service - 'mesu.apple.com' - 'swscan.apple.com' - 'swquery.apple.com' - 'swdownload.apple.com' - 'swcdn.apple.com' - 'swdist.apple.com' #Google - 'lens.l.google.com' - 'stun.l.google.com' - 'na.b.g-tun.com' #Netflix - '+.nflxvideo.net' #FinalFantasy XIV Worldwide Server & CN Server - '*.square-enix.com' - '*.finalfantasyxiv.com' - '*.ffxiv.com' - '*.ff14.sdo.com' - 'ff.dorado.sdo.com' #Bilibili - '*.mcdn.bilivideo.cn' #Disney Plus - '+.media.dssott.com' #shark007 Codecs - 'shark007.net' #Mijia - 'Mijia Cloud' #招商银行 - '+.cmbchina.com' - '+.cmbimg.com' #AdGuard - 'local.adguard.org' #迅雷 - '+.sandai.net' - '+.n0808.com' profile: # 存储 select 选择记录 store-selected: true # 持久化 fake-ip store-fake-ip: false ```
tuic 日志 ``` 23-09-08 18:23:47[ info ][TCP] 127.0.0.1:53127(msedge.exe) --> vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 18:23:47[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 18:23:46[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 18:23:46[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 18:23:46[ debug ][DNS] vpsgo.com --> 81.68.142.26 23-09-08 18:23:46[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 18:23:46[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 18:23:46[ info ][TCP] 127.0.0.1:53108(msedge.exe) --> vpsgo.com:80 match Match using 节点选择[tuic] 23-09-08 18:23:46[ info ][TCP] 127.0.0.1:53105(msedge.exe) --> vpsgo.com:443 match Match using 节点选择[tuic] 23-09-08 18:23:46[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 18:23:46[ debug ][DNS] resolve vpsgo.com error: couldn't find ip 23-09-08 18:23:46[ debug ][DNS] resolve vpsgo.com error: couldn't find ip 23-09-08 18:23:44[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 18:23:44[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 18:23:42[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 18:23:41[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 18:23:41[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 ```

将udp-over-stream: true注释,同样错误

将- '8.8.8.8#节点选择' 改成 - 'tcp://8.8.8.8#节点选择,正常

vmess 是正常的 vmess 日志 ``` 23-09-08 18:25:16[ info ][TCP] 127.0.0.1:53394(msedge.exe) --> www.vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 18:25:16[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 18:25:16[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 18:25:15[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 18:25:15[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 18:25:15[ debug ][DNS] www.vpsgo.com --> 81.68.142.26 23-09-08 18:25:15[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 18:25:15[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 18:25:15[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 18:25:15[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 18:25:15[ info ][TCP] 127.0.0.1:53386(msedge.exe) --> vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 18:25:15[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 18:25:15[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 18:25:14[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 18:25:14[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 18:25:14[ debug ][DNS] vpsgo.com --> 81.68.142.26 23-09-08 18:25:14[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 18:25:13[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 18:25:13[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 18:25:13[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 ```
GeorgeRudd commented 1 year ago

1.15.0和1.15.1也都有此问题

1.15.1 ``` 23-09-08 16:14:45[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:14:45[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:41[ info ][TCP] 127.0.0.1:51139(msedge.exe) --> www.vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 16:14:41[ info ][TCP] 127.0.0.1:51140(msedge.exe) --> www.vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 16:14:40[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:14:40[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:40[ debug ][DNS] www.vpsgo.com --> 81.68.142.26 23-09-08 16:14:40[ debug ][DNS] www.vpsgo.com --> 81.68.142.26 23-09-08 16:14:40[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:14:40[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:40[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:40[ info ][TCP] 127.0.0.1:51133(msedge.exe) --> www.vpsgo.com:443 match Match using 节点选择[tuic] 23-09-08 16:14:40[ debug ][DNS] resolve www.vpsgo.com error: couldn't find ip 23-09-08 16:14:40[ warn ][TCP] dial DIRECT (match GeoIP/cn) 127.0.0.1:51130(msedge.exe) --> www.vpsgo.com:443 error: dns resolve failed: couldn't find ip 23-09-08 16:14:38[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:14:38[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:38[ info ][TCP] 127.0.0.1:51131(msedge.exe) --> vpsgo.com:80 match GeoIP(cn) using DIRECT 23-09-08 16:14:38[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:14:38[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:14:38[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:38[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:38[ debug ][DNS] vpsgo.com --> 81.68.142.26 23-09-08 16:14:38[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:14:38[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:14:38[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:38[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] www.vpsgo.com --> 81.68.142.26 23-09-08 16:14:35[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:35[ info ][TCP] 127.0.0.1:51128(msedge.exe) --> vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 16:14:35[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] vpsgo.com --> 81.68.142.26 23-09-08 16:14:35[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:14:35[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 ```
1.15.0 ``` 23-09-08 16:17:20[ info ][TCP] 127.0.0.1:51548(msedge.exe) --> www.vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 16:17:20[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:17:20[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:17:20[ info ][TCP] 127.0.0.1:51547(msedge.exe) --> www.vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 16:17:20[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:20[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:20[ debug ][DNS] www.vpsgo.com --> 81.68.142.26 23-09-08 16:17:20[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:17:20[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:17:19[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:19[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:19[ debug ][DNS] www.vpsgo.com --> 81.68.142.26 23-09-08 16:17:19[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:17:19[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:17:19[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:19[ info ][TCP] 127.0.0.1:51544(msedge.exe) --> www.vpsgo.com:443 match Match using 节点选择[tuic] 23-09-08 16:17:19[ info ][TCP] 127.0.0.1:51538(msedge.exe) --> www.vpsgo.com:443 match Match using 节点选择[tuic] 23-09-08 16:17:19[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:19[ debug ][DNS] resolve www.vpsgo.com error: couldn't find ip 23-09-08 16:17:19[ debug ][DNS] resolve www.vpsgo.com error: couldn't find ip 23-09-08 16:17:17[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:17:17[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:17[ info ][TCP] 127.0.0.1:51542(msedge.exe) --> vpsgo.com:80 match GeoIP(cn) using DIRECT 23-09-08 16:17:17[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:17:17[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:17[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:17[ debug ][DNS] vpsgo.com --> 81.68.142.26 23-09-08 16:17:17[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:17:17[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:17:17[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:17[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] www.vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:14[ info ][TCP] 127.0.0.1:51534(msedge.exe) --> vpsgo.com:443 match GeoIP(cn) using DIRECT 23-09-08 16:17:14[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] vpsgo.com --> 81.68.142.26 23-09-08 16:17:14[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 23-09-08 16:17:14[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53 ```
ArchGuyWu commented 1 year ago

@GeorgeRudd 请用alpha

GeorgeRudd commented 1 year ago

@GeorgeRudd 请用alpha

我一楼发的就是alpha

ArchGuyWu commented 1 year ago

@GeorgeRudd 日志后面不是解析出来了吗?

GeorgeRudd commented 1 year ago

@GeorgeRudd 请用alpha

你是不是看的群里消息?如果issue内容过长 比如放上配置文件和日志 那个机器人根本不会转发

ArchGuyWu commented 1 year ago

@GeorgeRudd 是的😂

GeorgeRudd commented 1 year ago

@GeorgeRudd 日志后面不是解析出来了吗?

是解析出来了 可是有一定概率会出现错误error: couldn't find ip 然后就默认走代理了 服务端屏蔽了cnip 最终表现为无法访问 影响浏览体验

NevadaCities commented 1 year ago

@GeorgeRudd 1.1.1.1 这个地址在每个ISP的定义都不一样,有可能会被认为是局域网或者保留IP,建议换成域名DoH

GeorgeRudd commented 1 year ago

@GeorgeRudd 1.1.1.1 这个地址在每个ISP的定义都不一样,有可能会被认为是局域网或者保留IP,建议换成域名DoH

呃 可是我用的8.8.8.8 1.1.1.1我也试了 一样的错误

NevadaCities commented 1 year ago

@GeorgeRudd 行吧

GeorgeRudd commented 1 year ago

服务端换成了clash.meta-linux-amd64-alpha-7286391 还是出现同样错误 日志放下面了

配置文件

port: 7892 # HTTP(S) 代理服务器端口
socks-port: 7891 # SOCKS5 代理端口
mixed-port: 7890 # HTTP(S) 和 SOCKS 代理混合端口
inbound-tfo: true
mode: rule
ipv6: true
log-level: debug
find-process-mode: always
allow-lan: false
geodata-mode: true
tcp-concurrent: true

external-controller: "0.0.0.0:9090"   #控制器监听地址
secret: "secret" #控制器登录密码

dns:
  enable: true   
  nameserver:
    - '1.1.1.1'

proxies: 

  - name: "direct"
    type: direct
    udp: true
    tfo: true
    ip-version: ipv4-prefer

listeners:
  - name: "tuic-in-33551"
    type: tuic
    port: 33551
    listen: "0.0.0.0"
    users:    # tuicV5填写(可以同时填写token)
      uuid: 123
    certificate: /fullchain.cer
    private-key: /key.key
    congestion-controller: bbr
    alpn:
      - h3

rules:
  - MATCH,direct
  - MATCH,REJECT

客户端日志

23-09-08 22:46:17[ info ][TCP] 127.0.0.1:58586(IDMan.exe) --> www.vpsgo.com:443 match GeoIP(cn) using direct
23-09-08 22:46:17[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53
23-09-08 22:46:17[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53
23-09-08 22:46:17[ debug ][DNS] www.vpsgo.com --> 81.68.142.26
23-09-08 22:46:17[ debug ][DNS] www.vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53
23-09-08 22:46:16[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53
23-09-08 22:46:16[ debug ][DNS] resolve www.vpsgo.com from udp://8.8.8.8:53
23-09-08 22:46:14[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://8.8.8.8:53
23-09-08 22:46:14[ info ][TCP] 127.0.0.1:58585(IDMan.exe) --> vpsgo.com:80 match Match using 节点选择[tuic]
23-09-08 22:46:14[ info ][TCP] 127.0.0.1:58582(msedge.exe) --> vpsgo.com:443 match Match using 节点选择[tuic]
23-09-08 22:46:14[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53
23-09-08 22:46:14[ debug ][DNS] resolve vpsgo.com error: couldn't find ip
23-09-08 22:46:14[ debug ][DNS] resolve vpsgo.com error: couldn't find ip
23-09-08 22:46:14[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53
23-09-08 22:46:13[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53
23-09-08 22:46:10[ debug ][DNS] vpsgo.com --> [], from udp://8.8.8.8:53
23-09-08 22:46:09[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53
23-09-08 22:46:09[ debug ][DNS] resolve vpsgo.com from udp://8.8.8.8:53

服务端日志

23-09-08 22:46:10[ info ][UDP] [ip]:xxxxx --> 8.8.8.8:53 match using direct
23-09-08 22:46:10[ debug ][Process] find process 8.8.8.8: process not found

服务端日志

23-09-08 22:46:16[ info ][TCP] [ip]:xxxxx --> vpsgo.com:80 match Match using direct
23-09-08 22:46:16[ info ][TCP] [ip]:xxxxx --> vpsgo.com:443 match Match using direct
23-09-08 22:46:14[ debug ][DNS] vpsgo.com --> [81.68.142.26], from udp://1.1.1.1:53
23-09-08 22:46:14[ debug ][DNS] vpsgo.com --> [], from udp://1.1.1.1:53
23-09-08 22:46:14[ debug ][DNS] resolve vpsgo.com from udp://1.1.1.1:53
23-09-08 22:46:14[ debug ][Process] find process vpsgo.com: process not found
23-09-08 22:46:14[ debug ][DNS] resolve vpsgo.com from udp://1.1.1.1:53
23-09-08 22:46:14[ debug ][Process] find process vpsgo.com: process not found
reF1nd commented 1 year ago

@GeorgeRudd 是上游sing-box服务器端的问题,目前这个问题已经标记为bug了,耐心等sing-box那边修复吧。

GeorgeRudd commented 1 year ago

@GeorgeRudd 是上游sing-box服务器端的问题,目前这个问题已经标记为bug了,耐心等sing-box那边修复吧。

好的谢谢

GeorgeRudd commented 1 year ago

现在修复了吗

ArchGuyWu commented 1 year ago

现在修复了吗

实测native模式下会不通,另两个模式正常

yueyejinghun commented 1 year ago

现在修复了吗

实测native模式下会不通,另两个模式正常

补充一下,客户端为 Clash.Meta 1.6.0。服务器端为 tuic v5 1.0.0 时正常,但为 v4 0.8.5 时依旧有这个问题。可能和 sing-box 本身不支持 v4 所以修复的时候没考虑到有关?

msbtx commented 11 months ago

我也有这个问题,server用的是tuic v5 native @sing-box 1.5.4。而使用vless@xray的节点解析dns就正常的。

看sing-box的log没有任何打印,好像请求都没到serveer端。

msbtx commented 11 months ago

我也有这个问题,server用的是tuic v5 native @sing-box 1.5.4。而使用vless@xray的节点解析dns就正常的。

看sing-box的log没有任何打印,好像请求都没到serveer端。

现在可以了,sing-box配置加了一个dns server就好了