Dit: How to resolve Handshake names from your Umbrel
- 0. What you need
- 1. Installing Dit
- 2. Set up devices
- 3. Resolve sites with DANE
- 4. Resolve sites with Stateless DANE (SANE)
Note: UmbrelOS is an open-source, Debian-based operating system designed to turn a computer, mini PC, Raspberry Pi or server into a user-friendly personal cloud and self-hosting hub. Its key features are a simple web interface easy to manage from your browser, and a plentiful App Store.
0. What you need
-
A router, a web browser and any other devices you want to resolve Handshake names from.
1. Installing Dit
Installing Dit is as simple as installing any other Umbrel community app: go to App Store → Community App Stores → Manage, paste https://github.com/galetaire/dit and install Dit.

2. Set up devices
Dit runs hnsd, a Handshake light client. After installation, it starts from a checkpoint and needs 1 to 5 minutes to sync block headers. From then on, it verifies every Handshake answer against them.
Once it’s synced, you can use it in two ways, chosen under Listening mode:
-
DNS server for your network: listens on port
53. -
Upstream for Pi-hole or AdGuard Home, if you already use one of them: listens only on port
5300and leaves port53to them.
After choosing a mode, go to Set up devices and follow the instructions for the devices you want to use. Screenshots for the set up process for a router and an Android phone, using the DNS server for your network mode, are available at https://galetaire.github.io/hnsguides/dit.html
3. Resolve sites with DANE
To open secure (HTTPS) sites, you need to set up a proxy and install the Dit certificate on each device. You’ll find the setup instructions for each device at the bottom of the Secure sites page.
-
In a desktop browser, the process is the same as for Fingertip, although the exact steps vary a little between browsers (Firefox, Chrome, Brave…).
-
On Android, the steps also depend on the browser you use.
Screenshots for how to set up the DANE proxy and certificate on a Windows 11 desktop and on an Android phone are available at https://galetaire.github.io/hnsguides/dit.html
4. Resolve sites with Stateless DANE (SANE)
As you’ll see, there is also a beta feature to validate Stateless DANE (SANE). SANE is still quite experimental, and as far as I know, few sites support it yet. If you also use the Castell app to host your sites, Castell has a beta feature that generates the proofs your sites need to support SANE.
What’s the difference between DANE and SANE?
| Plain DANE (Dit’s proxy today) | SANE (what Castell now embeds) | |
|---|---|---|
| What the client needs | A trusted resolver that does DNSSEC: hnsd asking Handshake peers for proofs, plus DNSSEC lookups for each site | Only the recent tree roots, a few KB, refreshed at most weekly |
| Lookups when you open a site | Proof requests to peers, then DNSKEY, DS and TLSA lookups | None for verification; only an untrusted address lookup, which can go over encrypted DNS |
| Privacy | Handshake peers and resolvers see which names you visit | Nobody learns more than from an ordinary encrypted address lookup |
| Reliability | Fails if peers or nameservers are slow or blocked | Works as long as the site itself responds |
| Where it works | Only where a trusted resolver is reachable: at home, through Dit | Anywhere: mobile data, public Wi-Fi, networks that block Handshake |
Write a comment