create_dns_access_list
Creates a pfSense DNS Resolver access list entry with a name, action, and optional networks or description to control which clients can query DNS.
Instructions
Create a DNS Resolver access 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": {
"aclname": "<aclname>",
"aclaction": "<aclaction>"
},
"name": "create_dns_access_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descr | No | Optional description | |
| aclname | Yes | Name of the access list | |
| networks | No | List of network dicts, each with "network" and "mask" keys (e.g., [{"network": "192.168.1.0", "mask": 24}]) | |
| aclaction | Yes | Action (allow, deny, refuse, allow_snoop, deny_nonlocal, refuse_nonlocal) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||