shadowsocks / shadowsocks-android

A shadowsocks client for Android
Other
35.26k stars 11.57k forks source link

How to cancel domain name resolution on the client side before sending #3153

Closed aylgyfqc closed 6 months ago

aylgyfqc commented 6 months ago

Why is the traffic through Shadowsocks only forwarded after the client resolves the domain name to IP? Can we cancel the process of obtaining and closing this?

Mygod commented 6 months ago

This app acts as a VPN service so the app handles all the DNS traffic. Cancelling DNS resolving in a client should be the same procedure as how you would do it without a VPN active.

aylgyfqc commented 6 months ago

@Mygod Thank you for your reply, but I still need to use it for wall climbing operations. I just need to ask it not to resolve the domain name to an IP before sending it. Can I operate on the app? Or should I modify it in the code?