Memory-safe core
Written in Rust on hickory-proto, with unsafe forbidden. No dnsmasq, no C anywhere in the DNS path.
Point your devices at Sito. It blocks ads, trackers and malware domains, answers your local names, and forwards everything else to an encrypted upstream.
Does Pi-hole's job today. Once the planned recursive resolver lands, Unbound's too.
FROM scratch, runs as non-rootWhy Sito
Written in Rust on hickory-proto, with unsafe forbidden. No dnsmasq, no C anywhere in the DNS path.
sito.toml is the only persistent state. No SQLite, no gravity database. The web UI edits that file in place and keeps your comments. For high availability, run several identical instances behind DHCP.
Saved from the web UI. The comment stays where you wrote it.
Dashboard, query log and toggles out of the box, and they work with JavaScript off. Prometheus metrics are a first-class endpoint, not an exporter you bolt on.
One file
Back it up, diff it, keep it in git. Edit it and Sito notices within seconds; most settings need no restart.
DNS-over-TLS here; DoH and plain DNS work too. If the first server is slow, the next is asked as well and the first answer wins.
Hosts files, plain domain lists and AdBlock-style ||domain^ lines. Allowed domains are never blocked.
Permanent here. From the UI you can also switch blocking off for one device for 5 minutes or an hour.
Records and aliases for the machines on your LAN, answered before anything else.
Reverse lookups for the LAN go to the router, so the query log shows pixel-7 instead of 192.168.1.57.
How a query flows
Each query walks this list in order and stops at the first step that has an answer.
nas.home.lan is answered straight from sito.toml.
Your LAN's reverse zone goes to the router.
A match gets 0.0.0.0, NXDOMAIN or REFUSED. Skipped for unfiltered clients.
Recent answers come from memory.
Over DoT or DoH, by priority with hedging, or a race.
Every query is logged and counted, whichever step answers it: query log, per-client history and /metrics.
Features
Plain DNS, DoT or DoH. Priority with hedging, or race.
Hosts files, domain lists, AdBlock ||domain^. Allow and deny lists.
Reply with 0.0.0.0, NXDOMAIN or REFUSED.
Records and aliases like nas.home.lan, conditional forwarding.
Learned from your router by reverse DNS. DHCP stays with the router.
Unblock one device for 5 minutes, an hour or for good.
One click, for as long as you choose.
Save the file, changes apply within seconds.
24 h of queries, blocks and average response time.
/api/v1 with OpenAPI. Optional admin password and API token.
Ships with a sandboxed systemd unit, a Docker Compose file and /healthz and /readyz for your orchestrator.
Compared
All four are good software. This is where they differ.
| Feature | Sito | Pi-hole | AdGuard Home | Blocky |
|---|---|---|---|---|
| Memory-safe language | Yes,Rust | No,C | Yes,Go | Yes,Go |
| No database, one config file | Yes | No | No | Yes |
| Web UI | Yes | Yes | Yes | No |
| Prometheus metrics built in | Yes | No | No | Yes |
| DoT / DoH to upstreams | Yes | No | Yes | Yes |
| DoT / DoH for clients | planned | No | Yes | Yes |
| Local records and conditional forwarding | Yes | Yes | Yes | Yes |
| Per-client groups | planned | Yes | Yes | Yes |
| Regex rules | planned | Yes | Yes | Yes |
| Built-in recursive resolver | planned | No | No | No |
| DHCP server | No,by design | Yes | Yes | No |
From each project's own documentation. Spot something out of date? Open an issue.
Questions
Quickstart
There are no release binaries yet. Build with Rust, or let Docker Compose build the image for you.
Full guide: the binary path, router setup and the Ubuntu port 53 fix
systemd
Docker Compose