zonefile.template 650 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$ORIGIN .
$TTL 86400      ; 1 day
{{ domain }}              IN SOA  {{ primary_nameserver }}. {{ hostmaster }}. (
                                7          ; serial
                                21600      ; refresh (6 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                                )
                        NS      {{ nameserver }}
$ORIGIN {{ domain }}.
$TTL 86400
{% for record in recordlist %}{{ record.subdomain }}		{{ record.ttl }}	{{ record.type }}	{{ record.address }}
{% endfor %}