opn_dns_lookup
Test DNS resolution directly from the OPNsense firewall. Verify Unbound configuration or check responses from specific DNS servers.
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| server | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||