dataset/seed/nsd-local/extras/nsd/01_nsd-local.yml

35 lines
667 B
YAML
Raw Permalink Normal View History

2024-10-01 13:18:45 +02:00
---
version: 1.1
"nsd_zone_{{ suffix }}":
hidden: true
redefine: true
hosts:
hostname:
redefine: true
default:
jinja: |-
{%- for zone in zones | get_internal_info_in_zone(suffix, "host") %}
{{ zone }}
{%- endfor %}
params:
zones:
information: zones
suffix:
type: suffix
ip:
redefine: true
default:
jinja: >-
{{ zones | get_internal_info_in_zone(suffix, "ip", index) }}
params:
zones:
information: zones
suffix:
type: suffix
index:
type: index