opnsense_dns_add_override
Add DNS host overrides (A/AAAA/CNAME records) to Unbound for custom domain resolution in OPNsense firewall infrastructure.
Instructions
Add a DNS host override (A/AAAA/CNAME record) to Unbound. Run opnsense_dns_apply afterwards to activate.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | Hostname (e.g. 'myserver') | |
| domain | Yes | Domain (e.g. 'home.lab') | |
| server | Yes | Target IP address | |
| description | No | Optional description | |
| type | No | Record type (default: A) |