18 lines
657 B
YAML
18 lines
657 B
YAML
---
|
|
argument_specs:
|
|
main:
|
|
short_description: Manage OPNsense Unbound DNS overrides
|
|
description:
|
|
- Creates Unbound host overrides (A record) and domain forwards
|
|
in OPNsense via the oxlorg.opnsense collection.
|
|
- Requires oxlorg.opnsense module_defaults to be set at play level.
|
|
options:
|
|
opnsense_dns_override_entries:
|
|
description: >-
|
|
List of DNS override entries. Each entry requires C(type) ("host" or "forward"),
|
|
C(value) (target IP), and either C(hostname)+C(domain) (for host type) or
|
|
C(domain) (for forward type).
|
|
type: list
|
|
elements: dict
|
|
default: []
|