commit | author | age
|
7dbea0
|
1 |
$TTL {tmpl_var name='ttl'} |
fc70a2
|
2 |
@ IN SOA {tmpl_var name='ns'} {tmpl_var name='mbox'} ( |
7dbea0
|
3 |
{tmpl_var name='serial'} ; serial, todays date + todays serial # |
T |
4 |
{tmpl_var name='refresh'} ; refresh, seconds |
|
5 |
{tmpl_var name='retry'} ; retry, seconds |
|
6 |
{tmpl_var name='expire'} ; expire, seconds |
8ab3cd
|
7 |
{tmpl_var name='minimum'} ) ; minimum, seconds |
7dbea0
|
8 |
; |
T |
9 |
|
|
10 |
<tmpl_loop name='zones'> |
|
11 |
<tmpl_if name="type" op='==' value='NS'> |
278652
|
12 |
{tmpl_var name='name'} {tmpl_var name='ttl'} NS {tmpl_var name='data'} |
7dbea0
|
13 |
</tmpl_if> |
T |
14 |
<tmpl_if name="type" op='==' value='A'> |
f5d954
|
15 |
{tmpl_var name='name'} {tmpl_var name='ttl'} A {tmpl_var name='data'} |
7dbea0
|
16 |
</tmpl_if> |
T |
17 |
<tmpl_if name="type" op='==' value='AAAA'> |
278652
|
18 |
{tmpl_var name='name'} {tmpl_var name='ttl'} AAAA {tmpl_var name='data'} |
7dbea0
|
19 |
</tmpl_if> |
T |
20 |
<tmpl_if name="type" op='==' value='ALIAS'> |
278652
|
21 |
{tmpl_var name='name'} {tmpl_var name='ttl'} CNAME {tmpl_var name='data'} |
7dbea0
|
22 |
</tmpl_if> |
T |
23 |
<tmpl_if name="type" op='==' value='CNAME'> |
278652
|
24 |
{tmpl_var name='name'} {tmpl_var name='ttl'} CNAME {tmpl_var name='data'} |
7dbea0
|
25 |
</tmpl_if> |
1231da
|
26 |
<tmpl_if name="type" op='==' value='DS'> |
AT |
27 |
{tmpl_var name='name'} {tmpl_var name='ttl'} DS {tmpl_var name='data'} |
|
28 |
</tmpl_if> |
7dbea0
|
29 |
<tmpl_if name="type" op='==' value='HINFO'> |
278652
|
30 |
{tmpl_var name='name'} {tmpl_var name='ttl'} HINFO {tmpl_var name='data'} |
1231da
|
31 |
</tmpl_if> |
AT |
32 |
<tmpl_if name="type" op='==' value='LOC'> |
|
33 |
{tmpl_var name='name'} {tmpl_var name='ttl'} LOC {tmpl_var name='data'} |
7dbea0
|
34 |
</tmpl_if> |
T |
35 |
<tmpl_if name="type" op='==' value='MX'> |
278652
|
36 |
{tmpl_var name='name'} {tmpl_var name='ttl'} MX {tmpl_var name='aux'} {tmpl_var name='data'} |
7dbea0
|
37 |
</tmpl_if> |
T |
38 |
<tmpl_if name="type" op='==' value='NAPTR'> |
278652
|
39 |
{tmpl_var name='name'} {tmpl_var name='ttl'} NAPTR {tmpl_var name='data'} |
7dbea0
|
40 |
</tmpl_if> |
T |
41 |
<tmpl_if name="type" op='==' value='PTR'> |
278652
|
42 |
{tmpl_var name='name'} {tmpl_var name='ttl'} PTR {tmpl_var name='data'} |
7dbea0
|
43 |
</tmpl_if> |
T |
44 |
<tmpl_if name="type" op='==' value='RP'> |
278652
|
45 |
{tmpl_var name='name'} {tmpl_var name='ttl'} RP {tmpl_var name='data'} |
7dbea0
|
46 |
</tmpl_if> |
T |
47 |
<tmpl_if name="type" op='==' value='SRV'> |
278652
|
48 |
{tmpl_var name='name'} {tmpl_var name='ttl'} SRV {tmpl_var name='aux'} {tmpl_var name='data'} |
7dbea0
|
49 |
</tmpl_if> |
6a25ac
|
50 |
<tmpl_if name="type" op='==' value='TLSA'> |
AT |
51 |
{tmpl_var name='name'} {tmpl_var name='ttl'} TLSA {tmpl_var name='data'} |
|
52 |
</tmpl_if> |
7dbea0
|
53 |
<tmpl_if name="type" op='==' value='TXT'> |
278652
|
54 |
{tmpl_var name='name'} {tmpl_var name='ttl'} TXT "{tmpl_var name='data'}" |
7dbea0
|
55 |
</tmpl_if> |
T |
56 |
</tmpl_loop> |
|
57 |
|