Skip to content

关闭sing-box后某个域名ping不通了 #2622

Open
@jiengup

Description

Operating system

macOS

System version

15.3.1 (24D70)

Installation type

sing-box for macOS Graphical Client

If you are using a graphical client, please provide the version of the client.

Version 1.11.3 (1)

Version

Description

打开sing-box可以ping通某个域名,也可以curl,但是dig和nslookup都运行不了会卡死(任何域名)
关闭之后ping不通也curl不了,显示cannot resolve example.domain: Unknown host,但是dig和nslookup都可以运行
试过重装singbox,清理dns记录:sudo killall -HUP mDNSResponder; sudo dscacheutil -flushcache;,重新启动等均无效

Reproduction

  1. 打开macOS sing-box GUI,开启服务
  2. 执行ping example.domain,可以ping通,curl正常返回,执行dig example.domain命令卡死无返回
  3. 关闭服务
  4. 执行ping example.domain,无法ping通和curl,显示cannot resolve example.domain: Unknown host,执行dig example.domain运行正常

Logs

Supporter

Integrity requirements

  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
  • I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
  • I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions