manage_dns_policy
List, create, update, or delete DNS filtering policies to control domain resolution for content filtering, ad blocking, or security.
Instructions
List, create, update, or delete DNS filtering policies. DNS policies control which domains clients can resolve — use for content filtering, ad blocking, or security (blocking known malicious domains). LIST: returns all DNS policies. CREATE/UPDATE: define filtering rules and target clients/networks.
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": {
"action": "<action>"
},
"name": "manage_dns_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to perform | |
| policyId | No | DNS policy ID (required for update/delete) | |
| name | No | DNS policy name. Convention: 'dns-{purpose}', e.g. 'dns-block-ads', 'dns-filter-malware' | |
| type | No | DNS policy type | |
| enabled | No | Whether the policy is active | |
| filter | No | Filter expression (for list only) |