Project

General

Profile

Named example file » History » Version 2

Ohad Levy, 12/19/2010 05:47 AM

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