dataset/seed/nsd-local/dictionaries/21_nsd-local.yml

90 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2024-10-01 13:18:45 +02:00
---
version: 1.1
dns_server:
nsd_allowed_client_cidr:
redefine: true
hidden: true
nsd_allowed_clients:
type: domainname
description: DNS forwarder for local domain name
multi: true
hidden: true
provider: LocalDNS
mandatory: false
"nsd_client_{{ suffix }}":
dynamic:
variable: _.nsd_allowed_clients
nsd_dnssec_ds:
supplier: LocalDNS:DNSSEC_DS
hidden: true
multi: true
default:
jinja: |-
{%- for variable in general.network.interface_0.domain_name |
get_dnssec_ds(general.nsd_zones_all) %}
{{ variable }}
{%- endfor -%}
nsd_allowed_client_ip:
type: ip
description: Clients
multi: true
hidden: true
default:
jinja: |-
{%- for client in zones | get_ip(_.nsd_allowed_clients) %}
{{ client }}
{%- endfor -%}
params:
zones:
information: zones
nsd_resolver:
redefine: true
supplier: ExternalDNS
hidden: true
nsd_resolve_ip:
type: ip
hidden: true
default:
jinja: >-
{{ zones | get_ip(general.dns_server.nsd_resolver) }}
params:
zones:
information: zones
dns_zone:
nsd_zones:
redefine: true
hidden: true
multi: true
default:
jinja: |-
{%- for zone in zones | get_internal_zones %}
{{ zone }}
{%- endfor -%}
params:
zones:
information: zones
dns_reverses:
nsd_reverse_network:
redefine: true
hidden: true
default:
jinja: |-
{%- for zone in zones | get_zones_info("network", uniq=true) %}
{{ zone }}
{%- endfor -%}
params:
zones:
information: zones