Open anasfanani opened 2 weeks ago
Same here, have a v2ray 5.16.1 running my proxy in the background and tun2socks step by step from toturial on debian.
i get output:
INFO[0003] [UDP] 198.18.0.1:57248 <-> 8.8.8.8:53 INFO[0008] [UDP] 198.18.0.1:47198 <-> 1.1.1.1:53
and dns resolution failure.
ping: google.com: Temporary failure in name resolution curl: (6) Could not resolve host: ifconfig.me
v2ray output:
V2Ray 5.16.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.22.2 linux/arm) A unified platform for anti-censorship. 2024/06/07 10:53:28 [Warning] V2Ray 5.16.1 started 2024/06/07 10:53:46 udp:127.0.0.1:36388 accepted udp:8.8.8.8:53 [dns-out] 2024/06/07 10:53:50 udp:127.0.0.1:40142 accepted udp:8.8.8.8:53 [dns-out]
Update: I got a chance to review every doc available for this tool, looks like we have to do some routing in order to make dns work properly:
https://github.com/xjasonlyu/tun2socks/wiki/DNS-Configuration
Yes dns will work if we make redirection on port 53 to use dns 8.8.8.8
My problem the dns is behind proxy.
Description
When using curl with socks5
After route everything dns can't routed via socks server.
Dns server is inside socks proxy.
Is this feature related to a specific bug?
No response
Do you have a specific solution in mind?
No response