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

« back to all changes in this revision

Viewing changes to .pc/40_ubuntu_bind9_management.patch/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
#for $zone in $forward_zones
 
19
zone "${zone}." {
 
20
    type master;
 
21
    file "$zone";
 
22
};
 
23
 
 
24
#end for
 
25
#for $zone, $arpa in $reverse_zones
 
26
zone "${arpa}." {
 
27
    type master;
 
28
    file "$zone";
 
29
};
 
30
 
 
31
#end for