From ff39078d6fe0f5755d70a4e5e7c3ca9ef0ed877a Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Sat, 17 Mar 2018 10:25:32 +0100 Subject: [PATCH] fix: minor change in db template for TXT record --- templates/db.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/db.j2 b/templates/db.j2 index 0e789ff..e95004a 100644 --- a/templates/db.j2 +++ b/templates/db.j2 @@ -13,7 +13,7 @@ $TTL {{ item.value.ttl|default(3600) }} {% if entry.type|upper == 'MX' %} {{ entry.name }} {{ entry.ttl|default(' ') }} IN MX {{ entry.priority }} {{ entry.value }} {% elif entry.type|upper == 'TXT' %} -{{ entry.name }} {{ entry.ttl|default(' ') }} IN {{ entry.type|upper }} ( +{{ entry.name }} {{ entry.ttl|default(' ') }} IN TXT ( {% for charset in entry.value|batch(64) %} "{{ charset|join('') }}" {% endfor %}