-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Description
If dns.ipv6 is disabled, even if global ipv6 is enabled, the ipv6 traffic will fail in direct outbound. This is caused by following code:
clash-rs/clash-lib/src/proxy/direct/mod.rs
Lines 67 to 71 in 61736d2
| let remote_ip = resolver | |
| .resolve(sess.destination.host().as_str(), false) | |
| .map_err(map_io_error) | |
| .await? | |
| .ok_or_else(|| std::io::Error::other("no dns result"))?; |
It will regard ipv6 address as a domain and try to resolve it and failed.
Don't know this is intended or a bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels