Dit

Dit is a self-hosted Handshake resolver that runs on your Umbrel. Point your router at it to cover your whole local network, or point just your phone or another single device at it.

How to resolve Handshake names from your Umbrel

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

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.

πŸ«† Dit screenshots on Umbrel

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:

After choosing a mode, go to Set up devices and follow the instructions for the devices you want to use. The screenshots below show the process for a router and an Android phone, using the DNS server for your network mode.

πŸ«† Dit setup screenshots

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.

The screenshots below show how to set up the DANE proxy and certificate on a Windows 11 desktop and on an Android phone.

πŸ«† Dit DANE setup screenshots

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.

🏰 Castell and πŸ«† Dit SANE setup screenshots

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