~james-page/ubuntu/natty/cobbler/fix-764391

« back to all changes in this revision

Viewing changes to templates/etc/named.template

  • Committer: James Page
  • Date: 2011-04-18 10:31:54 UTC
  • Revision ID: james.page@canonical.com-20110418103154-hlxha02vd2o0h3dg
* Fixed management of bind9 (LP: #764391):
  - debian/patches/40_ubuntu_bind9_management.patch:
    - Manage bind9 instead of named daemon.
    - Generate configuration in /etc/bind.
    - Use default bind9 configuration as much as possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
options {
2
 
          listen-on port 53 { 127.0.0.1; };
3
 
          directory       "/var/named";
4
 
          dump-file       "/var/named/data/cache_dump.db";
5
 
          statistics-file "/var/named/data/named_stats.txt";
6
 
          memstatistics-file "/var/named/data/named_mem_stats.txt";
7
 
          allow-query     { localhost; };
8
 
          recursion yes;
9
 
};
10
 
 
11
 
logging {
12
 
        channel default_debug {
13
 
                file "data/named.run";
14
 
                severity dynamic;
15
 
        };
16
 
};
17
 
 
18
1
#for $zone in $forward_zones
19
2
zone "${zone}." {
20
3
    type master;
21
 
    file "$zone";
 
4
    file "/etc/bind/db.$zone";
22
5
};
23
6
 
24
7
#end for
25
8
#for $zone, $arpa in $reverse_zones
26
9
zone "${arpa}." {
27
10
    type master;
28
 
    file "$zone";
 
11
    file "/etc/bind/db.$zone";
29
12
};
30
13
 
31
14
#end for