From 4e771ec16ff0b798690e149d437fa65cc440688e Mon Sep 17 00:00:00 2001 From: Benjamin Collet Date: Fri, 11 Nov 2022 23:42:35 +0100 Subject: [PATCH] Update example template --- templates/zonefile.jj2.dist | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/zonefile.jj2.dist b/templates/zonefile.jj2.dist index 374f7e1..38c1396 100644 --- a/templates/zonefile.jj2.dist +++ b/templates/zonefile.jj2.dist @@ -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('.') -%}