block_domain
Block unwanted domains by adding them to the DNS blocklist on the OPNSense MCP Server. Specify the domain and an optional description to enhance control over network traffic.
Instructions
Add a domain to the DNS blocklist
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": {
"domain": "<domain>"
},
"name": "block_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Optional description for the block | |
| domain | Yes | Domain to block (e.g., pornhub.com) |