- Elixir 97.4%
- Shell 2%
- CSS 0.2%
- Dockerfile 0.2%
| .woodpecker | ||
| assets | ||
| ci | ||
| config | ||
| deploy/examples | ||
| dev | ||
| docs | ||
| lib | ||
| priv | ||
| rel | ||
| scripts/replicas | ||
| test | ||
| .credo.exs | ||
| .dockerignore | ||
| .formatter.exs | ||
| .gitignore | ||
| .sobelow-conf | ||
| .tool-versions | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| coveralls.json | ||
| Dockerfile | ||
| LICENSE | ||
| mix.exs | ||
| mix.lock | ||
| README.md | ||
| SECURITY.md | ||

Salt
Salt makes what is already there a little better. It makes DNS servers you already run easier to manage. The name comes from Matthew 5:13.
The logo salts the arid landscape of DNS servers: a salt shaker salting dry hills under a desert sun, with a cactus. Salt, sun and cactus are also a nod to Bonaire, the island Salt comes from, and its flag's yellow and blue.
Salt is a self-hosted DNS platform built with Elixir, Phoenix, Postgres, and a bundled Knot DNS server. It manages zones through a web interface, a REST API, a PowerDNS-compatible API, and authenticated DNS updates. Standard zone transfers and catalog zones connect existing BIND, NSD, Knot, and PowerDNS secondaries. Two optional modules obtain and renew certificates and deliver them, with routes, to HAProxy load balancers through the Shaker agent.
Status
Version 1.0.0. The feature set is implemented: zone management with ownership verification, the REST and PowerDNS-compatible APIs, RFC 2136 updates with scoped TSIG keys, DNSSEC, zone transfers and catalog zones for your own secondaries, import, the web console, the provisioning and names APIs, edge hardening and monitoring, release packaging, several identical replicas with automatic takeover, and the optional certificates and routing modules. Most of it was checked on the authors' production installation on 13 November 2026; replicas were run on a test host only. Status and roadmap lists what was checked, where and when, and what was not. The code has had independent review and the findings are fixed. There is no published record of production use beyond its authors' own installation: run it first against test zones and read SECURITY.md. Later changes stay within 1.0 until the maintainers say otherwise (see the changelog). Known gaps are listed in Clients and APIs (for example the PowerDNS endpoints that answer 404).
Documentation
- Getting started: a production stack from scratch.
- Configuration: every environment variable.
- Operations: backups, rebuilding Knot, upgrades, key rotation.
- Certificates: certificates for a zone and its wildcard, for one host, or for a host outside your zones through a proxy group (HTTP-01), from any ACME provider, renewed for you.
- Status and roadmap: what works, what was tested and when, and what is not built.
- Shaker and routing: deliver certificates, routes and an HAProxy configuration to your load balancers.
- Clients and APIs: REST API, RFC 2136 recipes, PowerDNS compatibility.
- Integrating with Salt: provisioning from a billing or portal system, sub-domain names, mail servers.
- Mail servers: publish mail and mail-client discovery records over RFC 2136 with TSIG.
- Your own secondaries: BIND, NSD, Knot and PowerDNS.
- The edge: hardening, DDoS posture, monitoring and alerts, anycast.
- The web interface's design: the mark, the salt band, the colour tokens and the components.
- Example production stack.
Local development
Use the versions in .tool-versions: Elixir 1.20.5 and Erlang/OTP 29.1.2.
Docker with Compose is required for integration tests. With mise installed:
mise install
mise exec -- mix deps.get
mise exec -- mix test
mise exec -- mix precommit
Unit and stateless web tests do not require a database or Docker. Integration tests use the isolated development stack described in dev/README.md:
dev/compose up -d --build --wait
mise exec -- mix test --only integration
# an independent stack (own project, subnet 10.83.2.0/24, own Knot):
SALT_DNS_STACK=2 dev/compose up -d --build --wait
SALT_DNS_STACK=2 mise exec -- mix test --only integration
For the development web server, start Postgres from that stack, then run:
mise exec -- mix ecto.setup
mise exec -- mix assets.setup
mise exec -- mix phx.server
On Linux, the database defaults to the local container at 10.83.<stack>.16:5432 (stack 0 unless
SALT_DNS_STACK is set).
DATABASE_HOST and DATABASE_PORT override it for development and testing.
For Docker Desktop or a remote daemon, run ./ci/integration.sh to execute
tests inside the private network. See ci/README.md. Generated
development signing keys and local database passwords are TEST ONLY.
Contributing
See CONTRIBUTING.md, AGENTS.md, and SECURITY.md. Changes are reviewed through pull requests.
License
MIT. Copyright (c) 2026 Shiloh B.V. See LICENSE.