Skip to content

# DcDNS v1.0.2

Choose a tag to compare

@larperru larperru released this 13 Aug 13:56
· 25 commits to main since this release
f554dfc

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 DnsOverHttps feature flag (enable-features=DnsOverHttps:Fallback/false/Templates/...) injected before the app ready event, ensuring DoH is enforced from the very first DNS lookup.
  • Removed invalid enableBuiltInResolver option from configureHostResolver call (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-Data header removal — Google's Chromium identification header is stripped from every outgoing request via webRequest.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

  • configureHostResolver now sets enableAdditionalDnsQueryTypes: 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

  1. Download DcDNS.exe below.
  2. Run it as Administrator.
  3. Select your Discord client and click Install.
  4. 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.
image

!!!!! READ FILE "virustotalresult.txt" !!!!!

https://github.com/larperru/DcDNS/blob/main/virustotalresult.txt