Salt DNS: DNS management with an API on top of standard DNS servers
  • Elixir 97.4%
  • Shell 2%
  • CSS 0.2%
  • Dockerfile 0.2%
Find a file
calvin 844d5cdbd4
All checks were successful
ci/woodpecker/push/image Pipeline was successful
ci/woodpecker/push/quality Pipeline was successful
ci/woodpecker/push/integration Pipeline was successful
Security: plug 1.20.3 -> 1.20.4 (EEF-CVE-2026-120287)
2026-11-18 05:43:47 +00:00
.woodpecker CI: run the Salt-against-Shaker exchange test with the Shaker binary from the package registry 2026-11-13 03:33:25 -04:00
assets Merge pull request 'Connection notices wait three seconds before they show' (#73) from reconnect-notice-delay into master 2026-11-13 14:38:44 +00:00
ci CI: run the Salt-against-Shaker exchange test with the Shaker binary from the package registry 2026-11-13 03:33:25 -04:00
config Registrar API, background job and console 2026-11-15 04:28:46 -04:00
deploy/examples Serve direct children's certificates through a proxy group; review follow-ups; writer busy gauge 2026-11-15 04:29:22 -04:00
dev Edges keep every change within seconds even when a customer's secondary is unreachable 2026-11-12 22:48:20 -04:00
docs Registrar: say that glue is part of the fingerprint 2026-11-15 23:00:14 -04:00
lib Registrar: say that glue is part of the fingerprint 2026-11-15 23:00:14 -04:00
priv Registrar: glue records for in-bailiwick name servers 2026-11-15 22:58:08 -04:00
rel Replicas: /run/knot and /storage owned by knot in the image, tmpfs/emptyDir for the control socket, no privilege drop in replica.conf, address detection shared with rpc, harness prints replica logs and always removes its project 2026-11-11 21:41:36 -04:00
scripts/replicas Rolling check judges a steady state; /ready never caches the replica check; timing table from the latest runs 2026-11-12 02:34:48 -04:00
test Registrar: glue records for in-bailiwick name servers 2026-11-15 22:58:08 -04:00
.credo.exs Establish the Salt DNS application and quality gate 2026-11-10 02:19:12 -04:00
.dockerignore Docker context: let the CI test image see the example Knot configs 2026-11-11 00:57:54 -04:00
.formatter.exs Generate Phoenix foundation for Salt DNS 2026-11-10 01:58:57 -04:00
.gitignore CI: run the Salt-against-Shaker exchange test with the Shaker binary from the package registry 2026-11-13 03:33:25 -04:00
.sobelow-conf Establish the Salt DNS application and quality gate 2026-11-10 02:19:12 -04:00
.tool-versions Establish the Salt DNS application and quality gate 2026-11-10 02:19:12 -04:00
AGENTS.md Add dns_erlang and idna, generate user accounts with phx.gen.auth 2026-11-10 15:04:54 -04:00
CHANGELOG.md Registrar: glue records for in-bailiwick name servers 2026-11-15 22:58:08 -04:00
CONTRIBUTING.md Establish the Salt DNS application and quality gate 2026-11-10 02:19:12 -04:00
coveralls.json Registrar module, core: adapter behaviour, Openprovider adapter, operations ledger 2026-11-15 03:31:56 -04:00
Dockerfile Replicas: /run/knot and /storage owned by knot in the image, tmpfs/emptyDir for the control socket, no privilege drop in replica.conf, address detection shared with rpc, harness prints replica logs and always removes its project 2026-11-11 21:41:36 -04:00
LICENSE Establish the Salt DNS application and quality gate 2026-11-10 02:19:12 -04:00
mix.exs Registrar module, core: adapter behaviour, Openprovider adapter, operations ledger 2026-11-15 03:31:56 -04:00
mix.lock Bump plug 1.20.3 -> 1.20.4 (EEF-CVE-2026-120287, GHSA-qj4r-jh2r-rw3f) 2026-11-18 01:27:41 -04:00
README.md Certificates for hosts outside Salt's zones: HTTP-01 through a proxy group 2026-11-15 01:22:20 -04:00
SECURITY.md Rename the visible product name to Salt 2026-11-13 10:17:27 -04:00

Salt logo: a salt shaker salting dry hills under a yellow sun, with a cactus

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

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.