A lightweight privacy hardening tool for Discord Desktop on Windows.
Enforces strict DNS-over-HTTPS, blocks WebRTC IP leaks, disables telemetry, and strips tracking headers — before Discord connects to the internet.
Website • Download • Demo • Discord
Discord's desktop client runs on Electron and inherits Chromium defaults. That means:
- DNS queries can leave the machine unencrypted
- WebRTC can expose your local/LAN IP during calls
- Chromium may send telemetry, crash reports, and fingerprinting headers
- Spellcheck can send typed text to remote services
- Headers like
X-Client-Datacan leak Chromium build identifiers
DcDNS patches Discord's local index.js and injects privacy controls at the Electron layer before Discord starts its normal network activity.
No system-wide VPN required. No proxy setup. Local patch only.
Important: Any Discord update overwrites
index.jsand removes DcDNS. Reinstall after updates. Use at your own risk.
Forces Discord DNS lookups through encrypted DoH.
- Default: Mullvad (
https://dns.mullvad.net/dns-query) - Fallback: Mullvad adblock DoH
- Plain DNS fallback disabled
- Optional custom DoH URL in Settings
Locks WebRTC to public-interface-only mode so your local LAN IP is not exposed during voice/video calls.
Blocks known Discord analytics and crash endpoints at the Electron network layer, including:
/api/v*/science/api/v*/track/api/v*/metrics/api/v*/events/stats/api/v*/analytics- Sentry domains
crash.discord.com,crash-reports.discord.com,reporter.discord.com
Toggleable in Settings.
- User-Agent cleanup
- TLS 1.2 minimum
X-Client-Dataremoval- Geolocation denied
- Spellcheck disabled
- Chromium background networking reduced
- Full install log
- SHA-256 verification of patched file
- Automatic backup as
index.js.dcdns.bak - One-click uninstall restores the original file
Website: dcdns.pages.dev
- Discord Stable
- Discord PTB
- Discord Canary
- Discord Development
- Windows 11 or later
- WebView2 Runtime
- One supported Discord desktop client
WebView2 download: Microsoft Edge WebView2
Get the latest build from the Releases page.
DcDNS is portable. No installer required.
Run as Administrator so it can access Discord's installation files.
- Close Discord completely
- Run
DcDNS.exeas Administrator - Read and accept the policy
- Optionally configure Settings
- Select your Discord client
- Click Install
- Restart Discord
If active, the title bar can show Encrypted By DcDNS.
After every Discord update, run Install again.
Click Uninstall in DcDNS.
- Restores original
index.jsfromindex.js.dcdns.bak - If backup is missing, strips the DcDNS payload safely
- Source is public and readable
- The tool does not collect personal data
- The only external request is a read-only GitHub release check
- Install creates a backup before patching
- Uninstall is one click and reversible
Still verify the release SHA-256 before running any .exe.
DcDNS improves Discord client network privacy. It does not:
- make you anonymous to Discord while logged in
- bypass Discord servers
- protect traffic outside Discord
- survive Discord auto-updates
For system-wide protection use a VPN or OS-level DNS settings.
- GitHub Issues: bugs and feature requests
- Discord: https://discord.gg/9cu4Rf2ke2
If DcDNS is useful, star the repository. It helps others find the project.
Copyright (c) 2025-2026 Larper.ru
Personal non-commercial use only.
No modification, reverse engineering, derivative works, or commercial use.
See LICENSE for full terms.