masterking32 / MasterDnsVPN
MasterDnsVPN Project 🔐
MasterDnsVPN is a scientific and research-oriented project for carrying TCP traffic through DNS queries and responses. In broad goal, it is similar to projects such as DNSTT or SlipStream, but it follows a fundamentally different structure and implementation approach. This system is designed around compatibility with many resolver behaviors and harsh network conditions, with the goal of preserving the highest possible stability and data delivery even in the worst cases.
MasterDnsVPN 是一个科学研究导向的项目,旨在通过 DNS 查询和响应来传输 TCP 流量。从宏观目标来看,它与 DNSTT 或 SlipStream 等项目类似,但它遵循了根本不同的结构和实现方法。该系统围绕与多种解析器行为及严苛网络条件的兼容性而设计,目标是在最坏的情况下也能保持尽可能高的稳定性和数据传输能力。
📊 MasterDnsVPN Compared with Similar Projects (MasterDnsVPN 与同类项目对比)
| Feature | SlipStream | DNSTT | MasterDnsVPN |
|---|---|---|---|
| Protocol type | Advanced DNS tunnel | Classic DNS tunnel | Advanced DNS tunnel / VPN |
| Transport protocol | QUIC | KCP + Noise | Custom protocol + ARQ |
| Transport header overhead | 🟠 ~24B | 🔴 ~59B | 🟢 ~5–7B (≈88% lower than DNSTT, ≈71% lower than SlipStream) |
| Encryption style | TLS 1.3 (inside QUIC) | Noise (Curve25519) | AES / ChaCha20 / XOR |
| Architecture | Unified (QUIC) | Multi-layered (KCP+SMUX+Noise) | 🟢 Lightweight custom design |
| Speed | 🟡 High | 🔴 Medium | 🟢 Faster (Up to 9× faster than DNSTT) |
| Stability (packet loss) | 🟡 Good | 🟠 Medium | 🟢 Very high (Multipath + ARQ) |
| Multi-resolver support | Yes (multipath) | ❌ | Yes (multi-resolver + duplication) |
| Resilience | Good | Medium | Very strong |
| Setup complexity | Medium | Simple | Easier installation |
| SOCKS5 support | Yes | Yes | Optimized for SOCKS5/SOCKS4 |
| Shadowsocks support | ✅ | ❌ | Indirectly (TCP Forwarding) |
| Adaptive routing | Limited | ❌ | Advanced (latency/loss based) |
| Built-in balancer | 🔴 | ❌ | 🟢 (8 built-in modes) |
| Duplication system | ❌ | ❌ | Yes (configurable) |
| MTU tolerance | Better than DNSTT | - | Works with very small MTU |
| Failover system | ❌ | ❌ | ✅ |
| Health checks | ❌ | ❌ | ✅ |
| Local DNS service | ❌ | ❌ | ✅ (with strong caching) |
❌ Disclaimer (免责声明)
MasterDnsVPN is provided as an educational and research project only. Provided without warranty: This software is provided “AS-IS”, without any express or implied warranty, including merchantability, fitness for a particular purpose, or non-infringement. Limitation of liability: The developers and contributors of this project accept no responsibility for any direct, indirect, incidental, consequential, or other damages arising from the use of this software or the inability to use it.
MasterDnsVPN 仅作为教育和研究项目提供。本软件按“原样”提供,不提供任何明示或暗示的保证,包括适销性、特定用途的适用性或不侵权保证。责任限制:本项目的开发者和贡献者不对因使用本软件或无法使用本软件而产生的任何直接、间接、附带、后果性或其他损害承担责任。
User responsibility: Using this project outside test environments may disrupt or damage network behavior. The user alone is responsible for all consequences of installation, configuration, and use. Legal compliance: Using this project to bypass local laws may result in civil or criminal consequences. Please review the laws and regulations of your country before use. The developers accept no responsibility for violations of local, national, or international laws by users.
用户责任:在测试环境之外使用本项目可能会干扰或破坏网络行为。用户需自行承担安装、配置和使用所产生的一切后果。法律合规性:使用本项目绕过当地法律可能会导致民事或刑事后果。请在使用前查阅您所在国家的法律法规。开发者不对用户违反当地、国家或国际法律的行为承担任何责任。
📢 Announcement and Support Channel (公告与支持频道)
For the latest news, releases, and project updates, follow our Telegram channel: [Telegram Channel]. If you like this project, please support it by starring it on GitHub (⭐). It helps the project get discovered.
获取最新新闻、发布和项目更新,请关注我们的 Telegram 频道:[Telegram Channel]。如果您喜欢这个项目,请在 GitHub 上为其点赞 (⭐) 以示支持,这有助于让更多人发现该项目。
✨ Key Features and Advantages (核心功能与优势)
- Censorship resistance and harsh-network survivability: 🛡️ Designed to work on filtered networks, unstable links, and strict MTU environments. 抗审查与严苛网络生存能力: 🛡️ 专为在受限网络、不稳定链路和严格 MTU 环境下工作而设计。
- Lightweight custom protocol: 🔄 Uses a custom protocol with retransmission logic to reduce overhead and increase usable DNS payload. 轻量级自定义协议: 🔄 使用带有重传逻辑的自定义协议,以减少开销并增加可用的 DNS 有效载荷。
- Multipath and packet duplication: 📡 Sends traffic through multiple paths and supports selective duplication to increase delivery probability on unstable networks. 多路径与数据包复制: 📡 通过多条路径发送流量,并支持选择性复制,以提高在不稳定网络上的传输成功率。
- Smart resolver selection and health checks: ⚡ Selects resolvers based on quality and health, and manages problematic resolvers automatically. 智能解析器选择与健康检查: ⚡ 根据质量和健康状况选择解析器,并自动管理有问题的解析器。
- MTU discovery and synchronization: 🧰 Detects the practical MTU of working paths and aligns around it to reduce fragmentation and improve stability. MTU 发现与同步: 🧰 检测工作路径的实际 MTU 并进行对齐,以减少分片并提高稳定性。
- SOCKS5 / SOCKS4 support and optimization: 🦧 Optimized local proxy handling for common applications. SOCKS5 / SOCKS4 支持与优化: 🦧 针对常见应用程序优化了本地代理处理。
- Packed control blocks and lower control overhead: 📦 Groups ACK/control traffic together to reduce control chatter. 打包控制块与更低的控制开销: 📦 将 ACK/控制流量合并,以减少控制信令的冗余。
- Optional compression and request packing: 🗜️ Reduces request counts and improves efficiency under small-MTU conditions. 可选压缩与请求打包: 🗜️ 在小 MTU 条件下减少请求次数并提高效率。
- Flexible encryption: 🔐 Supports multiple. 灵活的加密: 🔐 支持多种加密方式。