opn_dns_lookup
Test DNS resolution from the OPNsense firewall to verify Unbound or specific DNS servers return expected results.
Instructions
Perform a DNS lookup from the OPNsense firewall.
Use this when you need to test DNS resolution from the firewall's perspective, verify Unbound is resolving correctly, or check if a specific DNS server returns expected results. Returns: dict with 'result' (str) and 'response' (DNS query results).
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": {
"hostname": "<hostname>"
},
"name": "opn_dns_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | ||
| hostname | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||