Skip to main content
These commands match DNS → Status pages in the dashboard: a host a proxy serves shows its visitors a status page instead of the backend. For what the statuses do, see Status pages. dnz status-pages is an alias for dnz status-page. Hosts are named as they are, e.g. app.example.com or *.example.com.

Permissions

  • Superadmins manage every host.
  • Others manage the hosts in zones where they have records.write, and see those of zones they can read.
  • A host in none of DNZ’s zones is superadmin-only.

Finding a host

Only names a proxy serves can have a status: proxy the record, or add a route with dnz proxy route, first.

Setting a status

The status is one of maintenance, coming_soon, unreachable, blocked, unauthorized, suspended, rate_limited, geo_blocked, moved or gone. Times are RFC 3339 (2026-10-25T22:00:00+07:00) or "YYYY-MM-DD HH:MM" in this machine’s time zone. --for counts from --from, or from now.
set creates the host’s status, or replaces the one it has with exactly what the command gives. Options left out go back to their defaults (the usual title and message, no window, nobody allowed through), and the status is on unless --off is given.

Watching, turning off and removing

State is active (visitors see the page), scheduled (starts later), ended (its window is over) or off. list and show print times in this machine’s time zone. clear asks first; --yes skips the question (needed without a terminal), and --json prints the API’s answers.