Block domains
create_block_rulesCreate enabled custom DNS block rules by specifying exact domains or wildcard patterns for a profile. Requires confirmation to apply, with optional expiry up to 30 days.
Instructions
Create enabled custom block rules. Requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Created through controld-mcp | |
| confirm | Yes | Must be exactly true after reviewing the requested change | |
| profile | Yes | Exact profile name or profile ID | |
| hostnames | Yes | Exact domains or *.domain wildcard patterns | |
| expiresInMinutes | No | Optional expiry, up to 30 days |