# masterking32/masterdnsvpn

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/masterking32-masterdnsvpn).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

6,446 stars · 591 forks · Go · MIT

## Links

- GitHub: https://github.com/masterking32/MasterDnsVPN
- Homepage: https://t.me/masterdnsvpn
- awesome-repositories: https://awesome-repositories.com/repository/masterking32-masterdnsvpn.md

## Description

MasterDnsVPN is a DNS tunneling VPN and network censorship bypass tool that encapsulates network traffic within DNS queries to circumvent restrictive firewalls. It functions as a secure tunneling protocol and SOCKS5 proxy server, allowing local application traffic to be routed through a secure tunnel to a remote destination.

The project distinguishes itself through a DNS resolver load balancer that distributes traffic across multiple resolvers based on latency and packet loss scoring. It further secures and masks traffic using symmetric payload encryption—supporting ChaCha20, AES-GCM, and XOR—and employs outbound SOCKS5 proxy chaining to hide the server egress point.

The system includes comprehensive traffic management and optimization capabilities, such as automatic repeat request mechanisms for reliable data delivery, dynamic MTU discovery to prevent packet fragmentation, and stream-based payload compression using ZSTD, LZ4, or ZLIB. It also incorporates a local DNS caching resolver to prevent DNS hijacking and leaks.

Deployment is supported through automated server setup scripts for Linux and multi-architecture container images with persistent storage.

## Tags

### Networking & Communication

- [DNS Tunnels](https://awesome-repositories.com/f/networking-communication/tunneling-proxies/dns-tunnels.md) — Implements a system for establishing network tunnels by encapsulating traffic over DNS protocols to bypass firewalls.
- [Censorship Circumvention Tools](https://awesome-repositories.com/f/networking-communication/censorship-circumvention-tools.md) — Provides a utility to circumvent restrictive network filters using DNS tunneling and outbound proxy chaining.
- [DNS Override Resolvers](https://awesome-repositories.com/f/networking-communication/dns-resolution/dns-override-resolvers.md) — Operates a local DNS resolver that intercepts queries and routes them through the tunnel to prevent hijacking. ([source](https://github.com/masterking32/MasterDnsVPN/blob/main/README_ES.MD))
- [DNS Resolver](https://awesome-repositories.com/f/networking-communication/load-balancers/dns-resolver.md) — Distributes tunnel traffic across multiple DNS resolvers using latency and packet loss scoring.
- [SOCKS5 Servers](https://awesome-repositories.com/f/networking-communication/proxy-servers/socks5-servers.md) — Provides a SOCKS5 proxy server to route local application traffic through a secure DNS tunnel.
- [Local Proxy Interfaces](https://awesome-repositories.com/f/networking-communication/socks5-proxies/socks5-proxy-tunneling-clients/local-proxy-interfaces.md) — Provides SOCKS4, SOCKS5, and TCP local interfaces to route application traffic into the DNS tunnel. ([source](https://github.com/masterking32/MasterDnsVPN/blob/main/README_ES.MD))
- [Automatic Repeat Request Mechanisms](https://awesome-repositories.com/f/networking-communication/automatic-repeat-request-mechanisms.md) — Implements a low-overhead automatic repeat request mechanism with window management to ensure reliable data delivery.
- [DNS Leak Protection](https://awesome-repositories.com/f/networking-communication/mail-servers/dns-routing-configurations/anonymized-dns-routing/dns-leak-protection.md) — Prevents DNS hijacking and leaks by managing resolution internally via a local DNS server with caching. ([source](https://github.com/masterking32/MasterDnsVPN/blob/main/README_FA.MD))
- [Network Reliability](https://awesome-repositories.com/f/networking-communication/network-reliability-diagnostics/network-reliability.md) — Improves connection stability on unstable networks using multipath routing and selective packet duplication. ([source](https://github.com/masterking32/masterdnsvpn#readme))
- [Path MTU Discoverers](https://awesome-repositories.com/f/networking-communication/network-transport-protocols/path-mtu-discoverers.md) — Probes active network paths to determine the maximum transmission unit and prevent packet fragmentation.
- [Proxy Chaining](https://awesome-repositories.com/f/networking-communication/proxy-protocols/proxy-chaining.md) — Routes outbound server traffic through sequential SOCKS5 proxies to mask the server's egress point. ([source](https://github.com/masterking32/MasterDnsVPN/blob/main/README_FA.MD))
- [Reliable Transmission Mechanisms](https://awesome-repositories.com/f/networking-communication/reliable-transmission-mechanisms.md) — Ensures reliable data delivery over lossy networks using an Automatic Repeat Request mechanism with retransmissions. ([source](https://github.com/masterking32/MasterDnsVPN/blob/main/README.MD))
- [Proxy Chaining](https://awesome-repositories.com/f/networking-communication/socks-proxies/proxy-chaining.md) — Routes outbound server traffic through external SOCKS5 proxies to mask the egress point and hide the server origin.
- [Egress Masking](https://awesome-repositories.com/f/networking-communication/socks5-proxies/egress-masking.md) — Routes outbound server traffic through external proxies to mask the server location and hide the egress point.
- [Tunnel Payload Compression](https://awesome-repositories.com/f/networking-communication/tunnel-payload-compression.md) — Applies ZSTD, LZ4, or ZLIB algorithms to tunneled data to reduce request overhead and bandwidth consumption.

### Development Tools & Productivity

- [Censorship Bypasses](https://awesome-repositories.com/f/development-tools-productivity/traffic-bypass-configuration/censorship-bypasses.md) — Circumvents network filters and state-level censorship using stealthy DNS tunneling methods.

### Security & Cryptography

- [Encrypted Tunneling](https://awesome-repositories.com/f/security-cryptography/encrypted-tunneling.md) — Secures communication between client and server using symmetric encryption methods like ChaCha20 and AES-GCM. ([source](https://github.com/masterking32/MasterDnsVPN/blob/main/README.MD))
- [Encrypted Tunneling Protocols](https://awesome-repositories.com/f/security-cryptography/encrypted-tunneling-protocols.md) — Employs a secure communication layer using ChaCha20, AES-GCM, and ARQ for encrypted and reliable data delivery.
- [Secure Tunneling](https://awesome-repositories.com/f/security-cryptography/secure-tunneling.md) — Protects tunneled data using encryption methods like ChaCha20 or AES-GCM to ensure privacy.
- [Payload Traffic Encryptions](https://awesome-repositories.com/f/security-cryptography/traffic-encryption/payload-traffic-encryptions.md) — Secures tunnel communications using symmetric ciphers like ChaCha20, AES-GCM, and XOR to evade detection.
- [Resolver Health Probes](https://awesome-repositories.com/f/security-cryptography/encrypted-dns-resolvers/custom-dns-resolvers/resolver-health-probes.md) — Tests DNS resolvers to identify functional servers and measure their maximum transmission unit. ([source](https://github.com/masterking32/MasterDnsVPN/blob/main/README.MD))

### Part of an Awesome List

- [General Productivity Tools](https://awesome-repositories.com/f/awesome-lists/productivity/general-productivity-tools.md) — VPN solution using DNS tunneling.
