local build latest source code, can not resolve dns
Please read contributing guidelines. Thanks.
Describe the bug if the sever host is domain, sslocal can not resolve, if it's IP address , no issues
To Reproduce Steps to reproduce the behavior:
- input ss config with host name 2025-11-16T09:17:41.703546326+08:00 ERROR socks5 tcp client handler error: dns resolve c63s1.jamjams.net:59970 error: resolve empty
Expected behavior ss can resolve dns
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Android/Chrome OS version: [e.g. "7.0.0_r14" or "71.0.3578.94 (32-bit)", more detailed description is preferred]
- Device: [e.g. Google Pixel XL]
- Version: [e.g. version code "v3.0.0" or commit ID "a073f85"]
- Last version that did not exhibit the issue: [not applicable]
Configuration
Put an x inside the [ ] that applies.
- [ ] IPv4 server address
- [ x] IPv6 server address
- [ ] Client IPv4 availability
- [ ] Client IPv6 availability
- Encrypt method:
- Route
- [ ] All
- [ ] Bypass LAN
- [ ] Bypass China
- [ x] Bypass LAN & China
- [ ] GFW List
- [ ] China List
- [ ] Custom rules
- [ ] IPv6 route
- [ ] Apps VPN mode
- [ ] Bypass mode
- Remote DNS: 8.8.8.8
- [ ] DNS over UDP
- Plugin configuration (if applicable):
- [ ] Auto Connect
- [ ] TCP Fast Open
- If you're not using VPN mode, please supply more details here:
Additional context Add any other context about the problem here.
same device, same config, 5.3.4 is normal, is this regression ?
is there any nightly build ? I can test if nightly build is okay
I identified this issue, it's resulted by this commit , @Mygod can you confirm this modification ?
https://github.com/shadowsocks/shadowsocks-android/commit/6ef346c7d53572145b0e584d848d0c4c3cff90f2#diff-835c30b997a2ddf9bc71aba62d5bf8882e0001b4d45edd148dcbf0323d63775eR87
- config.put("dns", "system")
+ config.put("dns", "unix://local_dns_path")
after revert this, it's okay on my device now