add_dns_host_override
Add a DNS host override in Unbound Resolver to map hostnames to custom IPs, with staging and apply options for pfSense.
Instructions
Create a DNS host override entry in Unbound DNS Resolver.
Staged until apply_changes('dns') is called or apply=true is passed.
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": {
"host": "<host>",
"domain": "<domain>",
"ip": "<ip>"
},
"name": "add_dns_host_override"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| host | Yes | ||
| apply | No | ||
| descr | No | ||
| domain | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||