Named example file

Version 1 (Ohad Levy, 12/19/2010 05:47 am)

1 1
h1. Named example file
2 1
<pre>
3 1
4 1
options {
5 1
  directory "/var/named";
6 1
  dump-file "/var/named/data/cache_dump.db";
7 1
  statistics-file "/var/named/data/named_stats.txt";
8 1
};
9 1
controls {  inet 127.0.0.1 allow { localhost; } keys { foreman; }; };
10 1
include "/etc/rndc.key";
11 1
12 1
zone "3.2.1.in-addr.arpa" {
13 1
  type master;
14 1
  file "/var/named/3.2.1.rev";
15 1
  allow-update {key "foreman"; };};
16 1
zone "my.domain" {
17 1
  type master;
18 1
  file "/var/named/my.domain.hosts";
19 1
  allow-update {key "foreman"; };};
20 1
logging
21 1
{
22 1
  category update { update_log; };
23 1
  channel update_log
24 1
  {
25 1
    file "/var/named/logs/dns-update.log" versions 2 size 20m;
26 1
    print-time yes;
27 1
    print-category yes;
28 1
    print-severity yes;
29 1
    severity info;
30 1
  };
31 1
};
32 1
zone "." {
33 1
  type forward;
34 1
  forwarders {
35 1
    1.2.3.4;
36 1
  };
37 1
};
38 1
39 1
</pre>