fix: minor change in db.j2 file

This commit is contained in:
Adrien Waksberg 2017-10-15 09:09:02 +02:00
parent f8ad1d6c9a
commit 94035b835c

View file

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