Create DNS policy
unifi_net_create_dns_policyCreate a DNS policy on the current UniFi site from a payload; preview changes with dry run or apply after confirmation.
Instructions
Creates a new DNS policy on the current site. Body shape per Network API docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | DNS policy create payload | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. |