Get DNS policy
unifi_get_dns_policyRetrieve a DNS policy by site and policy ID to inspect its configured fields for review or troubleshooting.
Instructions
Get a specific DNS policy by ID (same fields as the list entry).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"siteId": "<siteId>",
"dnsPolicyId": "<dnsPolicyId>"
},
"name": "unifi_get_dns_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID | |
| dnsPolicyId | Yes | DNS policy ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| port | No | ||
| text | No | ||
| type | No | ||
| domain | No | ||
| weight | No | ||
| enabled | No | ||
| service | No | ||
| metadata | No | ||
| priority | No | ||
| protocol | No | ||
| ipAddress | No | ||
| ttlSeconds | No | ||
| ipv4Address | No | ||
| ipv6Address | No | ||
| serverDomain | No | ||
| targetDomain | No | ||
| mailServerDomain | No |