# DcDNS v1.0.2
DcDNS v1.0.2
DNS payload fix — Mullvad DoH now properly enforced, new privacy hardening.
What's New
- Fixed DNS payload to exclusively use Mullvad DoH (
https://dns.mullvad.net/dns-query) with no fallback to other resolvers. - Added Chromium-level
DnsOverHttpsfeature flag (enable-features=DnsOverHttps:Fallback/false/Templates/...) injected before the appreadyevent, ensuring DoH is enforced from the very first DNS lookup. - Removed invalid
enableBuiltInResolveroption fromconfigureHostResolvercall (was silently ignored, could cause errors on some Electron versions). - Removed Cloudflare and Quad9 as fallback DoH resolvers — DNS now fails hard instead of silently downgrading to a different provider or plain DNS.
- Removed custom path input and custom path selection.
- Removed Linux and macOS support — Windows only.
Privacy Hardening
- User-Agent cleaning — Electron and Discord-specific strings (
Electron/x.x.x,DiscordApp/x.x.x) are stripped from the User-Agent header so web servers cannot fingerprint the exact Electron version in use. - TLS hardening — minimum TLS version enforced at 1.2 via
setSSLConfig, blocking connections to servers that only support outdated and insecure TLS. X-Client-Dataheader removal — Google's Chromium identification header is stripped from every outgoing request viawebRequest.onBeforeSendHeaders.- Geolocation blocked — all geolocation permission requests are denied at the Electron layer before Discord can act on them.
- Spellcheck disabled — Chromium's built-in spellchecker (which can send typed text to a remote API) is disabled for Discord's session.
- Host resolver cache cleared — DNS cache is flushed on startup so no stale plain-DNS entries persist after the DoH policy is applied.
Improvements & Fixes
configureHostResolvernow setsenableAdditionalDnsQueryTypes: false, preventing HTTPS/SVCB record queries from leaking over insecure channels.- DNS server list reduced to Mullvad only — previously the multi-server list allowed Chromium to silently fall through to Cloudflare or Quad9 if Mullvad was slow to respond.
- Fixed many bugs that caused the UI to crash
Installation
Windows
- Download
DcDNS.exebelow. - Run it as Administrator.
- Select your Discord client and click Install.
- Restart Discord when prompted.
Requirements
- Windows 11 or later (with WebView2)
- Discord, Discord PTB, Discord Canary, or Discord Development installed
Uninstalling
Open DcDNS, select your client, and click Uninstall. The original Discord files will be restored from backup or cleaned automatically.
Notes
- On Windows, run as Administrator if you encounter permission errors during injection.
- After updating Discord, run Install again — Discord updates overwrite the patched
index.js.
!!!!! READ FILE "virustotalresult.txt" !!!!!
https://github.com/larperru/DcDNS/blob/main/virustotalresult.txt