15 lines
844 B
Django/Jinja
15 lines
844 B
Django/Jinja
$ORIGIN .
|
|
$TTL 21600
|
|
{{ domain_name }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. (
|
|
1 ; serial
|
|
86400 ; refresh (1 day)
|
|
3600 ; retry (1 hour)
|
|
2419200 ; expire (4 weeks)
|
|
360 ; negative ttl (5 minutes)
|
|
)
|
|
IN NS vm-host.{{ domain_name }}.
|
|
IN A {{ ( back_net ~ "/24" ) | ansible.utils.ipaddr("1") | ansible.utils.ipaddr("address") }}
|
|
IN MX 1 {{ ( back_net ~ "/24" ) | ansible.utils.ipaddr("1") | ansible.utils.ipaddr("address") }}
|
|
$ORIGIN {{ domain_name }}.
|
|
vm-host IN A {{ ( back_net ~ "/24" ) | ansible.utils.ipaddr("1") | ansible.utils.ipaddr("address") }}
|
|
vm-host-f IN A {{ ( front_net ~ "/24" ) | ansible.utils.ipaddr("1") | ansible.utils.ipaddr("address") }}
|