summaryrefslogtreecommitdiff
path: root/frontends/var/nsd/zones/master/foo.zone.zone.tpl
blob: d0755c91d10b30491cb01865c980f62cf7edd99d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$ORIGIN foo.zone.
$TTL 4h
@        IN  SOA  fishfinger.buetow.org. hostmaster.buetow.org. (
                  <%= time() %>   ; serial
                  1h              ; refresh
                  30m             ; retry
                  7d              ; expire
                  1h )            ; negative
         IN NS   fishfinger.buetow.org.
         IN NS   blowfish.buetow.org.

         IN MX 10 fishfinger.buetow.org.
         IN MX 20 blowfish.buetow.org.

        300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
        300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
www     300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
www     300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
standby  300 IN A <%= $ips->{current_standby}{ipv4} %> ; Enable failover
standby  300 IN AAAA <%= $ips->{current_standby}{ipv6} %> ; Enable failover

f3s           300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
f3s           300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
www.f3s       300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
www.f3s       300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
standby.f3s   300 IN A <%= $ips->{current_standby}{ipv4} %> ; Enable failover
standby.f3s   300 IN AAAA <%= $ips->{current_standby}{ipv6} %> ; Enable failover

stats         300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
stats         300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
www.stats     300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
www.stats     300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
standby.stats 300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
standby.stats 300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover