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 mode: DNS exchange failed: context deadline exceeded #5731

Closed
2 tasks done
Para-line opened this issue Sep 24, 2024 · 5 comments
Closed
2 tasks done

[Bug]: TUN mode: DNS exchange failed: context deadline exceeded #5731

Para-line opened this issue Sep 24, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Para-line
Copy link

预期情况

开启Tun Mode后应该能正常访问网络

实际情况

启用Tun Mode后会出现大量DNS相关错误。

复现方法

开启Tun Mode

日志信息

错误如下:

+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN AAAA: context deadline exceeded
+0800 2024-09-24 18:16:38 ERROR dns: exchange failed for cloudflare-dns.com. IN A: context deadline exceeded

由于报错很多,这里只节选了一部分。

额外信息

我已经读过相关的issue和discussion,尝试过里面提到过的方法,均无效果。

我确认已更新至最新版本

我确认已查询历史issues

@Para-line Para-line added the bug Something isn't working label Sep 24, 2024
@Para-line
Copy link
Author

Para-line commented Sep 24, 2024

DNS设置用的是置顶issue中的。

@2dust
Copy link
Owner

2dust commented Sep 25, 2024

你可以先用app带的默认的,如果不行再自己调整

@Para-line
Copy link
Author

你可以先用app带的默认的,如果不行再自己调整

默认的不行我才换的

@2dust
Copy link
Owner

2dust commented Sep 26, 2024

默认和其他建议都不行的情况,换一个app试一试吧,如果可以就用,不行就放弃tun

@2dust
Copy link
Owner

2dust commented Sep 26, 2024

#4539

@2dust 2dust closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 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