Update example template

This commit is contained in:
Benjamin Collet 2022-11-11 23:42:35 +01:00
parent 55eb1740d7
commit 4e771ec16f
Signed by: bcollet
GPG key ID: AD4777CCD7ED49DC

View file

@ -8,6 +8,10 @@ $TTL 86400
@ IN NS ns1.example.com.
@ IN NS ns2.example.com.
{% for extra_record in extra_records -%}
{{ extra_record.rr }} IN {{ extra_record.type }} {{ extra_record.data }}
{% endfor -%}
{% for record, rrs in records.items() -%}
{% for rr in rrs -%}
{% if not record.endswith('.') -%}