Skip to main content
These commands match Settings → Integrations → Caddy in the dashboard. A Caddy belongs to one division. For what the integration does, see Caddy. dnz caddies is an alias for dnz caddy. Commands take --division (-d) when you belong to more than one, and name a Caddy by its name or id.

Permissions

  • Connecting, changing, syncing, pausing and removing a Caddy need integrations.manage.
  • Listing Caddies and previewing a sync need zones.read.

Connecting

check lists the hostnames DNZ can read and the zone each one would go in. add saves the Caddy, shows what a sync would add and remove, and asks before it starts syncing; --paused only saves it. For the Caddyfile side (a read-only site with basic auth, or the open admin API), see Connect a Caddy.

Watching and syncing

Each hostname shows one of add, update, remove, stale (kept by an add-only Caddy), taken (records made by hand or by another Caddy), skipped (with the reason) or ok (in DNS already).

Changing and removing

A changed address or TTL shows in DNS right away when the Caddy is syncing. --json prints the API’s answers, and --yes skips the questions (needed without a terminal).