Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 DNSCrypt #186

Open
Zig-VS-TypeScript-VS opened this issue Dec 28, 2024 · 2 comments
Open

支持 DNSCrypt #186

Zig-VS-TypeScript-VS opened this issue Dec 28, 2024 · 2 comments
Labels
feature request New feature or request

Comments

@Zig-VS-TypeScript-VS
Copy link

Zig-VS-TypeScript-VS commented Dec 28, 2024

https://github.com/DNSCrypt 允许使用匿名的DNS.
https://github.com/AdguardTeam/dnsproxy
https://github.com/ameshkov/dnscrypt

https://github.com/Gedsh/InviZible/blob/master/tordnscrypt/libs/arm64-v8a/libdnscrypt-proxy.so
https://github.com/Gedsh/InviZible/tree/master/tordnscrypt/src/main/java/pan/alexander/tordnscrypt/dnscrypt_fragment

mieru 客户端: 从服务器下发, dns url 或 自己输入 DNSCrypt 的DNS服务器.
mieru服务器: 生成配置文件带 Anonymized DNSCrypt 的DNS

  • 可以解决设备 DNS污染 导致的无法链接mieru服务器.

可用的DNS有 Anonymized DNSCrypt、 ODoH、DoQ、DoH、

避免使用 ipv4 ipv6 dns, 它们完全被污染.

@enfein enfein added the feature request New feature or request label Dec 29, 2024
@enfein
Copy link
Owner

enfein commented Dec 29, 2024

我们可以进一步探讨,我目前感觉这个功能不是很紧急。

mieru 客户端唯一会用到 DNS 的地方是,如果代理服务器地址使用的是域名而不是 IP,会解析代理服务器的 IP 地址。连接至代理服务器之后,mieru 客户端不会使用 DNS 解析任何目标站点的 IP 地址。所有关于目标站点的解析都发生在代理服务器上。

#185 (comment) 所述,代理服务器使用 Golang 默认的 DNS 服务,这个默认的服务使用操作系统的 DNS 实现大部分的功能。如果代理服务器的 DNS 被污染,我的建议是换一个 VPS 提供商。在 VPS 上安装软件接管 DNS 或许也能解决问题。

@Zig-VS-TypeScript-VS
Copy link
Author

Zig-VS-TypeScript-VS commented Jan 2, 2025

使用的ODoH、DoQ、DoH它应该被写在 用户节点配置文件里 以便任何人都可以导入mieru 客户端使用.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants