Update DNS policy
unifi_net_update_dns_policyUpdates an existing UniFi DNS policy by ID, with optional dry-run preview and confirmation before applying changes.
Instructions
Updates an existing DNS policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | ||
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. |