Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 关于TUN模式DNS默认配置的问题 #5595

Closed
2 tasks done
lingszz opened this issue Aug 27, 2024 · 2 comments
Closed
2 tasks done

[Bug]: 关于TUN模式DNS默认配置的问题 #5595

lingszz opened this issue Aug 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@lingszz
Copy link

lingszz commented Aug 27, 2024

预期情况

默认配置错误,应修改默认配置

实际情况

我注意到TUN DNS remote的默认配置为
{
"tag": "remote",
"address": "tcp://8.8.8.8",
"strategy": "ipv4_only",
"detour": "proxy"
},
但实际上remote中"tcp://8.8.8.8"的内容应该为"8.8.8.8",与local的配置一致
{
"tag": "local",
"address": "223.5.5.5",
"strategy": "ipv4_only",
"detour": "direct"
},

复现方法

TUN DNS remote 的远程IP地址为tcp://8.8.8.8,出现了不必要的协议版本"tcp://"

日志信息

软件运行后显示DNS远程地址异常
,FATAL[0000] create service: parse route options: parse dns server[remote]: missing address_resolver

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@lingszz lingszz added the bug Something isn't working label Aug 27, 2024
@lingszz
Copy link
Author

lingszz commented Aug 29, 2024

需要注意的是,这种方法可以使TUN模式下使用"V3-全局"可以正常上网,但使用"V3-绕过大陆"时仍然会出现无法解析DNS的问题

@lingszz
Copy link
Author

lingszz commented Aug 29, 2024

使用"V3-绕过大陆"模式时,需要在路由设置中修改223.5.5.5/32等IP的代理规则为proxy

@2dust 2dust closed this as completed in c9d65e5 Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@lingszz and others