network/salt/bind/root-domain.zone

24 lines
540 B
Dns
Raw Normal View History

2017-03-12 03:17:00 +01:00
$ORIGIN {{ domain }}.
2017-01-13 03:57:09 +01:00
$TTL 10M
2018-06-23 02:04:35 +02:00
@ IN SOA {{ pillar['bind']['master-ns'][ctx] }}. astro.spaceboyz.net. (
2017-01-13 03:57:09 +01:00
{{ pillar['bind']['serial'] }} ; serial
1H ; refresh
1M ; retry
2H ; expire
5M ; minimum
)
{%- for ns in pillar['bind']['public-ns'] %}
IN NS {{ ns }}.
{%- endfor %}
{%- for net, hosts in pillar['hosts-inet'].items() %}
{%- for ns in pillar['bind']['public-ns'] %}
{{ net }} IN NS {{ ns }}.
{%- endfor %}
{%- endfor %}
2017-03-12 03:16:48 +01:00
{%- for ns in pillar['bind']['public-ns'] %}
dyn IN NS {{ ns }}.
{%- endfor %}