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.
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) |