Skip to content
SecretDNS
English
Download
  • Windows 10 · 11
  • Freeware
  • DNS over HTTPS
  • SNI fragmentation

Inspection gear reads two things. We cover just DNS and SNI.

SecretDNS is a free Windows program that encrypts DNS queries (DoH) and splits up the site name (SNI) in the first HTTPS packet. It leaves Windows network settings alone — just press the lock in the middle.

Latest 4.1.1 · Installer · Portable (ZIP) · Administrator rights required

SecretDNS main screen — the gold lock in the middle is closed, meaning it is running

SecretDNS is not a VPN. It does not hide your IP address or encrypt all of your traffic. It handles only the two things inspection relies on: DNS and SNI.

When you open a website, your computer sends two things in plain text

Normal connection
Your PC IP 203.0.113.7
Inspection gear (DPI) ISP · network admin
Usual DNS server Cloudflare (DoH) Name → IP
example.com HTTPS
DNSexample.com — readableciphertext — unreadable
SNIexample.com — readableexa | mple.com — name not recognized
IP203.0.113.7 (still visible)

A simplified illustration. It does not inspect your network or change any settings.

  1. 01

    A DNS query asks for the address

    Your browser first asks a DNS server to turn the site name into an IP address. This query is normally not encrypted.

  2. 02

    The site name (SNI) rides in the first packet

    Even over HTTPS, the very first packet carries the name of the site you are visiting (SNI) in the clear.

  3. 03

    Inspection gear reads both

    Deep packet inspection (DPI) reads DNS and SNI to see where you are going, and can cut the connection or redirect you to a warning page.

  4. 04

    DNS goes encrypted (DoH)

    Set DNS Config to DNS over HTTPS and press the lock: DNS queries are sent encrypted over HTTPS to a server such as Cloudflare. Nobody in between can read them. (Choosing Servers just uses a different DNS server, without encryption.)

  5. 05

    SNI gets split into pieces

    Only the part holding the site name is sent in several fragments. The connection itself is unchanged, so there is almost no slowdown.

  6. 06

    Your IP address stays the same

    SecretDNS is not a VPN, so your IP and the rest of your traffic are untouched. When a site blocks you by country (error 451), use Mixed Proxy below.

One lock to turn it on. Fine-tuning in Config.

Windows settings stay untouched

It never changes your network adapter's DNS settings and works only while running. Turn it off and everything is back instantly — even after a power cut or forced shutdown, the internet works normally on the next boot.

DNS over HTTPS

Cloudflare by default. Add your own servers and tick several: if one stops answering, the next takes over. There is also a mode that uses a plain server (e.g. 1.1.1.1) without encryption.

SNI fragmentation

Keeps the site name from showing as-is on HTTPS and HTTP connections. For networks where fragmenting alone isn't enough, there is Enable Fake Packet.

Exception list · Target list

Sites that may break when fragmented, such as banking and payments, pass through untouched. More than 160 domains — banks, payments, portals, games, government, schools — are built in.

  • .example.comincludes subdomains
  • https://www.example.com/pathpaste a URL, it gets cleaned up

Switch SNI Config to Fragmentⓜ and only the sites you list are fragmented.

Browsers only

Fragmentation applies only to major browsers such as Chrome, Edge, Firefox and Whale, leaving games and work apps alone. It is on by default, and DNS handling still applies to every program.

A connection that doesn't drop

Before starting it checks that the DNS server is reachable, and the internet keeps working even if the server stops answering. No need to restart after sleep or a Wi-Fi change.

Report

See how each site was handled, by DNS and SNI, in a table in its own window. Copy(All) pastes straight into Notepad or Excel.

TypeDomainApplied
DNSwww.example.comDNS over HTTPS
SNIwww.example.comFragment
SNIbank.example
SNIblocked.exampleDirect

Run at startup · Tray

It starts in the tray when Windows boots, and turns protection back on if it was running last time. Closing the window sends it to the tray; the icon is grey when stopped and gold when running.

Multilingual

Follows the Windows display language, or pick one under Language in Config — even while running.

Only blocked sites go through a server abroad

In countries without internet freedom, some sites refuse connections from that country altogether and show error 451. Because the block is based on where you connect from, DNS encryption or fragmentation cannot open it.

Mixed Proxy routes only the domains you list through a server abroad. Everything else connects directly as usual, so other sites stay just as fast.

  • Turn it on and a list box appears right below — one domain per line
  • A server is assigned automatically each run; if it stops answering, the next one is used
  • Requires DNS Config to be enabled
Your PC Server abroad blocked news shop

blocked.example — on the Mixed Proxy list, so it goes through a server abroad.

Program preview

SecretDNS

SecretDNS

Fragment SNI, a security vulnerability in HTTPS.

Version 4.1.1

A redrawn copy using the real program's layout, colors and wording. You can click around, but it doesn't actually do anything.

Common situations

A site jumps to a warning page or the connection drops

With the default settings (DNS Servers or DNS over HTTPS + SNI Fragment), pressing the lock fixes most cases. Turn on the Report and visit the site: the SNI row should show Fragment and the DNS row Plaintext or DNS over HTTPS. If it still fails, try Enable Fake Packet.

After turning it on, a site won't open (banking, payments, game logins…)

That site doesn't handle fragmentation well. In Config, add the domain to the exception list under the Fragment row and run again. Starting with a dot, like .example.com, covers every subdomain. You can also paste the URL from the address bar as-is.

You want to fragment only a few sites

Switch SNI Config to Fragmentⓜ and a target list box appears under that row. Only the domains you list are fragmented; everything else is sent as-is. If only one or two sites are a problem, this is the safer choice. If the list is empty, it asks you to add a domain before running.

"Cannot connect to the DNS over HTTPS server" appears

Some office or school networks can't reach certain DoH servers. Tick a different server (e.g. cloudflare-dns.com) under Servers on the DNS over HTTPS row, or switch DNS Config to Servers. It isn't encrypted, but you still use a different DNS server without changing Windows settings.

You don't want games or work apps affected

Keep Browsers only on (it is on by default). Fragmentation and fake packets then apply only to major browsers. If a non-browser app such as a download manager also needs fragmentation, turn it off.

You want a different display language

Pick one under Language at the bottom of Config and it switches right away — even while running. System follows the Windows display language.

It's running but doesn't take effect right away

This may be your browser's DNS cache. Close all browser windows and open them again.

Free. Anywhere, no strings attached.

Installer Recommended

  • Runs right after installing
  • Registers Run at startup
  • Runs with administrator rights
Get the installer

Portable (ZIP)

  • Unzip and run SecretDNS.exe
  • Run at startup is off by default
  • Otherwise the same as the installer
Get the portable version
  • Windows 10 · 11 32-bit · 64-bit
  • Administrator rights prompted on every launch
  • No runtime to install
  • Freeware at work, home, government offices or schools
Recent changes

Version 4.1.0

  • Improved connection stability through refined connection handling and response validation
  • Reduced initial connection delays for websites using QUIC
  • Fixed downloads or connection handling stalling while using the proxy on affected systems
  • Fixed address lookups incorrectly accepting responses to earlier requests
  • Added an alert when startup settings cannot be changed and prevented incorrect setting status from being displayed

Version 4.0.6

  • Changed existing options to reset to defaults once when updating
  • Prevented updates from overwriting user-configured DNS lists

Version 4.0.5

  • Improved VPN stability with automatic server switching
  • Made VPN activity easier to identify in connection history

There are no automatic updates. If a new version is out, you are told when the program starts.

More free programs on Kilho.net

Frequently asked questions

How is it different from a VPN?

A VPN routes all your traffic through another server and changes your IP. SecretDNS doesn't hide your IP or encrypt all traffic — it handles only DNS and SNI, the two things inspection relies on. That's why there is almost no speed penalty.

Does SNI fragmentation slow things down?

Only the part containing the site name is split; the rest of the traffic is sent as usual, so there is almost no slowdown.

Does it change Windows DNS settings?

No. It doesn't change network adapter settings and works only while running. Even if you close it or the computer shuts down suddenly, everything is normal after a restart.

Can I use it without installing?

Yes. Unzip the portable version (ZIP) and run SecretDNS.exe. Apart from Run at startup being off by default, it is the same as the installer.

Can I use it at work or school?

It is freeware, free to use without restriction at work, home, government offices or schools, and free to redistribute. Follow your organization's network policy.

Does it update automatically?

No. On startup it checks for a new version and shows a notice; clicking Yes opens the download page.