~ubuntu-branches/ubuntu/hardy/bcfg2/hardy-updates

« back to all changes in this revision

Viewing changes to src/lib/Server/Hostbase/templates/zone.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Sami Haahtinen
  • Date: 2006-11-16 22:39:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061116223916-8dtn3t86cz58vg2x
Tags: 0.8.6.1-1
* New Upstream Release
* Replaced faulty if clause in bcfg2.postrm (Closes: #398772)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
\$ORIGIN .
2
 
\$TTL $zone[8]
3
 
${zone[1]}      IN SOA  $zone[4]. $zone[3] (
4
 
                                $zone[2]        ; serial
5
 
                                $zone[7]                ; refresh interval
6
 
                                $zone[6]                ; retry interval
7
 
                                $zone[5]                ; expire interval
8
 
                                $zone[8]                ; min ttl
9
 
                                )                               
10
 
 
11
 
                        #for $ns in $nameservers
12
 
                        NS      $ns[0]
13
 
                        #end for
14
 
                        #for $a in $addresses
15
 
                        A       $a[0]
16
 
                        #end for
17
 
                        #for $mx in $mxs
18
 
                        MX      $mx[0] $mx[1]
19
 
                        #end for
20
 
 
21
 
\$ORIGIN ${zone[1]}.
 
1
$ORIGIN .
 
2
$TTL {{ zone.8 }}
 
3
{{ zone.1 }}.   IN SOA  {{ zone.4 }}. {{ zone.3 }}. (
 
4
                                {{ zone.2 }}    ; serial
 
5
                                {{ zone.7 }}            ; refresh interval
 
6
                                {{ zone.6 }}            ; retry interval
 
7
                                {{ zone.5 }}            ; expire interval
 
8
                                {{ zone.8 }}            ; min ttl
 
9
                                )
 
10
 
 
11
                        {% for ns in nameservers %}NS   {{ ns.0 }}
 
12
                        {% endfor %}
 
13
                        {% for a in addresses %}A       {{ a.0 }}
 
14
                        {% endfor %}
 
15
                        {% for mx in mxs %}MX   {{ mx.0 }} {{ mx.1 }}
 
16
                        {% endfor %}
 
17
$ORIGIN {{ zone.1 }}.
22
18
localhost                               A       127.0.0.1