nsd-formula/nsd/files/default/generated-zones.conf.jinja

12 lines
452 B
Plaintext
Raw Normal View History

{%- from "nsd/macros.jinja" import zonefile_name with context -%}
########################################################################
# File managed by Salt at <{{ source }}>.
# Your changes will be overwritten.
########################################################################
{%- for name, config in nsd.get('zones').items() %}
zone:
name: "{{ name }}"
zonefile: "{{ nsd.zones_dir }}/{{ zonefile_name(name, config) }}"
{%- endfor %}