Get started

Run Sito on your network

Pick one of three ways to install it, then point your router at it. About five minutes either way.

LinuxRust toolchain or Dockerport 53 free

Install

As a systemd service

Builds Sito and installs it with a sandboxed systemd unit. The usual choice for a Raspberry Pi, a VM or a NAS.

shell
$ git clone https://github.com/SitoDNS/sito.git && cd sito
$ cargo build --release
$ sudo contrib/install.sh target/release/sito

With Docker Compose

Builds the ≈12 MB image (FROM scratch, non-root) and starts it. The last command checks that Sito answers.

shell
$ git clone https://github.com/SitoDNS/sito.git && cd sito
$ docker compose up -d --build
$ dig @127.0.0.1 example.com

Just the binary

Writes an example config in the current directory and runs Sito in the foreground. Good for a first look before you commit to a service.

shell
$ cargo build --release
$ ./target/release/sito example > sito.toml
$ ./target/release/sito run -c sito.toml

Point your network at it

  1. Set Sito as your router's DNS server

    In the router's DHCP settings, set the DNS server to Sito's LAN address. Devices switch over as they renew their lease; reconnecting Wi-Fi speeds that up. Sito does not hand out addresses itself; your router keeps doing that.

  2. Ask the router for device names

    Add a [[conditional]] block for your LAN's reverse zone, so the query log and client pages show names instead of IP addresses. For 192.168.1.0/24 the zone is 1.168.192.in-addr.arpa.

    sito.toml
    [[conditional]]
    domain = "1.168.192.in-addr.arpa"
    server = "192.168.1.1" # your router

    Save the file. Sito reloads it within seconds; no restart needed.