technitium 0.4.0

Typed async Rust client for the Technitium DNS Server API
Documentation
# Zone Clone

## Endpoint
`/api/zones/clone`

## Method
GET

## Description
Clones an existing zone with all the records to create a new zone.

## Authentication
Token required.

## Parameters

| Name | Type | Required | Conditional | Description |
|------|------|----------|-------------|-------------|
| `token` | string | Yes | - | Session token from `login` or `createToken`. |
| `node` | string | No | - | Node domain name for clustering. When unspecified, the current node is used. Only usable when Clustering is initialized. |
| `zone` | string | Yes | - | Domain name of the new zone to be created. |
| `sourceZone` | string | Yes | - | Domain name of the existing zone to be cloned. |

## Response Fields

No additional response fields beyond `status: "ok"`.

## Conditional Logic Notes
- Requires Zones-level Modify permission to create the new zone, and Zone-level View permission on the source zone.

## Edge Cases
- The source zone must exist and the user must have View permission on it.
- All records from the source zone are copied to the new zone.