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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unifi_net_create_dns_policy"
}
}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. |