network/salt/bind/root-domain.zone

29 lines
660 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
)
2018-06-26 22:46:35 +02:00
{%- for ns in pillar['bind']['public-ns'][ctx] %}
2017-01-13 03:57:09 +01:00
IN NS {{ ns }}.
{%- endfor %}
{%- for net, hosts in pillar['hosts-inet'].items() %}
2018-06-26 22:46:35 +02:00
{%- for ns in pillar['bind']['public-ns'][ctx] %}
2017-01-13 03:57:09 +01:00
{{ net }} IN NS {{ ns }}.
{%- endfor %}
{%- endfor %}
2017-03-12 03:16:48 +01:00
2018-06-26 22:46:35 +02:00
{%- for ns in pillar['bind']['public-ns'][ctx] %}
2017-03-12 03:16:48 +01:00
dyn IN NS {{ ns }}.
{%- endfor %}
2019-07-23 02:18:17 +02:00
{%- for name, a in pillar['hosts-inet-extra'].items() %}
{{ name }} IN A {{ a }}
{%- endfor %}