Configuration
config exampleprints a commented config file with every setting. Start a new/etc/dnz/dnz.tomlfrom it.config showprints the effective value of every setting and where it came from, with its file key next to its environment name.config checkonly validates the configuration. Unknown keys in the file are errors, so typos don’t go unnoticed. It also says which database the configuration points at (SQLite, Postgres or MySQL), without the password.
-c / --config or DNZ_CONFIG. See Configuration for the full
order and every setting.
Move to Postgres or MySQL
database.url / DNZ_DATABASE_URL to the new database and start DNZ.
See Database.
Health check
GET /api/health), so it works as a Docker
HEALTHCHECK or a monitoring probe.
Version
Factory reset
- zones and records
- users and divisions
- API tokens and update keys
- proxies and replication
- filtering, notifications and settings
- logs
dnz setup, or the web UI), and your saved session for it
is forgotten. The config file and the environment stay. With DNZ_ADMIN_PASSWORD set, that admin is
created again.
Only a superadmin can do it. It asks you to type RESET; --yes skips that, for example in
scripts. The dashboard has the same under Settings → General → Factory reset.