Commit 87a93a88 authored by tbrehm's avatar tbrehm

Added TTL support for DNS A-Records in DNS template file.

parent 56a3b2c3
......@@ -12,7 +12,7 @@ $TTL {tmpl_var name='ttl'}
{tmpl_var name='name'} NS {tmpl_var name='data'}
</tmpl_if>
<tmpl_if name="type" op='==' value='A'>
{tmpl_var name='name'} A {tmpl_var name='data'}
{tmpl_var name='name'} {tmpl_var name='ttl'} A {tmpl_var name='data'}
</tmpl_if>
<tmpl_if name="type" op='==' value='AAAA'>
{tmpl_var name='name'} AAAA {tmpl_var name='data'}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment