fix: minor change in db template for TXT record

This commit is contained in:
Adrien Waksberg 2018-03-17 10:25:32 +01:00
parent a46f82ba2c
commit ff39078d6f

View file

@ -13,7 +13,7 @@ $TTL {{ item.value.ttl|default(3600) }}
{% if entry.type|upper == 'MX' %} {% if entry.type|upper == 'MX' %}
{{ entry.name }} {{ entry.ttl|default(' ') }} IN MX {{ entry.priority }} {{ entry.value }} {{ entry.name }} {{ entry.ttl|default(' ') }} IN MX {{ entry.priority }} {{ entry.value }}
{% elif entry.type|upper == 'TXT' %} {% 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) %} {% for charset in entry.value|batch(64) %}
"{{ charset|join('') }}" "{{ charset|join('') }}"
{% endfor %} {% endfor %}