2018-02-05 06:03:08 +00:00
|
|
|
; Auto-generated using generateZonefiles.py
|
|
|
|
|
|
|
|
$ORIGIN {{ zone }}.
|
|
|
|
$TTL {{ ttl }}
|
|
|
|
|
|
|
|
{{ zone }}. {{ ttl }} IN SOA {{ soa.auth_ns }} {{ soa.contact }} {{ soa.serial }} {{ soa.refresh }} {{ soa.retry }} {{ soa.expire }} {{ soa.ttl }}
|
|
|
|
|
|
|
|
{% for ns in nameserver -%}
|
|
|
|
{{ zone }}. {{ ttl }} IN NS {{ ns }}
|
|
|
|
{% endfor %}
|
|
|
|
{%- if mailserver | length > 0 %}
|
2018-02-18 12:47:31 +00:00
|
|
|
{% for mailserver, weight in mailserver | dictsort -%}
|
2018-02-05 06:03:08 +00:00
|
|
|
{{ zone }}. {{ ttl }} IN MX {{ weight }} {{ mailserver }}
|
|
|
|
{% endfor -%}
|
|
|
|
{%- endif %}
|
|
|
|
{% for entry in entries -%}
|
|
|
|
{{ entry.name }} {{ entry.ttl | default(ttl) }} {{ entry.class | default('IN') }} {{ entry.type }} {% if entry.weight %}{{ entry.weight }} {% endif %}{{ entry.data }}
|
|
|
|
{% endfor -%}
|