technitium 0.4.0

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

## Endpoint
`/api/zones/resync`

## Method
GET

## Description
Allows resyncing a Secondary or Stub zone. This process will re-fetch all the records from the primary name server for the 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 zone to resync. |

## Response Fields

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

## Conditional Logic Notes
- Only applicable to Secondary and Stub zones (zones that replicate from a primary).

## Edge Cases
- Calling this on a non-Secondary/non-Stub zone type will likely return an error.
- The resync triggers a full zone transfer from the primary name server.

## Obsolete Paths
- `/api/zone/resync`