Skip to content

Xray DNS bypasses System Hosts #4677

@gfw-killer

Description

@gfw-killer

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 provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
  • I searched issues and did not find any similar issues.
  • The problem can be successfully reproduced in the latest Release

Description

Hello
Most of people use Windows/Linux Hosts file to block Ads/Malware domains or Windows Updates / Microsoft Telemetry or Pirated software domains! Xray ruins Windows if get used as a Client
It's necessary for Desktop clients
Please add an option like use-system-hosts of mihomo
https://wiki.metacubex.one/en/config/dns/#use-system-hosts
It can even support custom path for Hosts file if you want to extend it
Thank you

Reproduction Method

..

Client config

Details

Server config

Details

Client log

Details

Server log

Details

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR welcomeUnplanned idea, but welcome anyone to open PR for implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions