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]: dns: exchange failed for #5702

Open
sssagsag opened this issue Sep 17, 2024 · 2 comments
Open

[Bug]: dns: exchange failed for #5702

sssagsag opened this issue Sep 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sssagsag
Copy link

sssagsag commented Sep 17, 2024

Hello, in version 6.59 and tun mode with custom configuration, when the service is started, this error appears and the domain does not ping the Address field, what is the problem and how to solve it

+0330 2024-09-17 22:36:42 ERROR [1026318492 4.56s] dns: exchange failed for check-host.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1738890658 8.75s] dns: exchange failed for dns.msftncsi.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [2613313427 10.0s] dns: exchange failed for a.nel.cloudflare.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1026318492 4.56s] dns: exchange failed for check-host.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1700892612 8.75s] dns: exchange failed for speedtest.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [2613313427 10.0s] dns: exchange failed for a.nel.cloudflare.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1700892612 8.75s] dns: exchange failed for speedtest.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1258850395 4.56s] dns: exchange failed for safebrowsing.google.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1239419475 9.61s] dns: exchange failed for check-host.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [2613313427 10.0s] dns: exchange failed for a.nel.cloudflare.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [2613313427 10.0s] dns: exchange failed for a.nel.cloudflare.com. IN A: context deadline exceeded
+0330 2024-09-17 22:36:42 ERROR [1026318492 4.56s] dns: exchange failed for check-host.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1026318492 4.56s] dns: exchange failed for check-host.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1258850395 4.56s] dns: exchange failed for safebrowsing.google.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1258850395 4.56s] dns: exchange failed for safebrowsing.google.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [2613313427 10.0s] dns: exchange failed for a.nel.cloudflare.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1700892612 8.75s] dns: exchange failed for speedtest.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1258850395 4.56s] dns: exchange failed for safebrowsing.google.com. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1700892612 8.75s] dns: exchange failed for speedtest.net. IN A: context canceled
+0330 2024-09-17 22:36:42 ERROR [1700892612 8.75s] dns: exchange failed for speedtest.net. IN A: context canceled
2024/09/17 22:36:45 [Error] [144291923] transport/internet/websocket: failed to dial to speedtest.net:443 > dial tcp: lookup speedtest.net: no such host
2024/09/17 22:36:45 [Error] [1469930149] transport/internet/websocket: failed to dial to speedtest.net:443 > dial tcp: lookup speedtest.net: no such host
2024/09/17 22:36:45 [Error] [3148194022] transport/internet/websocket: failed to dial to speedtest.net:443 > dial tcp: lookup speedtest.net: no such host
2024/09/17 22:36:45 from tcp:127.0.0.1:38014 accepted tcp:149.154.167.91:80 [socks -> proxy]
2024/09/17 22:36:45 from udp:127.0.0.1:52323 accepted udp:8.8.8.8:53 [socks -> proxy]

@sssagsag sssagsag added the bug Something isn't working label Sep 17, 2024
@sssagsag
Copy link
Author

The problem is that the Address domain is not resolved, and a route must be written for Singbox so that the addresses can be routed locally.

@sssagsag
Copy link
Author

with this dns settings for singbox tun fixed .
may add in import configuration dns for singbox?
{
"servers": [
{
"tag": "local",
"address": "dhcp://auto",
"detour": "direct"
},
{
"tag": "remote",
"address": "https://1.1.1.1/dns-query",
"detour": "proxy"
}
],
"rules": [
{
"outbound": "any",
"server": "local"
}
],
"final": "remote",
"strategy": "prefer_ipv4"
}

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

1 participant