summaryrefslogtreecommitdiffstats
path: root/util/docker-compose/roles/cobbler/templates/named.template.j2
blob: 0cf76225f7e363288a576bb4cd4247a8c203eee6 (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
options {
          listen-on port 53 { {{ host_ip }}; };
          directory       "/var/named";
          dump-file       "/var/named/data/cache_dump.db";
          statistics-file "/var/named/data/named_stats.txt";
          memstatistics-file "/var/named/data/named_mem_stats.txt";
          allow-query { 127.0.0.0/8; {{ install_subnet }}/{{ install_prefix }}; };
          recursion yes;
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

#for $zone in $forward_zones
zone "${zone}." {
    type master;
    file "$zone";
};

#end for
#for $zone, $arpa in $reverse_zones
zone "${arpa}." {
    type master;
    file "$zone";
};

#end for