Skip to content

local build latest source code, can not resolve dns #3223

@scola

Description

@scola

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:

  1. 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.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions