Line | |
---|
1 | include "rndc.conf";
|
---|
2 |
|
---|
3 | options {
|
---|
4 | directory "/etc/namedb";
|
---|
5 | pid-file "/var/run/named/pid";
|
---|
6 | dump-file "/var/dump/named_dump.db";
|
---|
7 | statistics-file "/var/statslave/named.stats";
|
---|
8 |
|
---|
9 | listen-on { 127.0.0.1; 10.11.0.2; };
|
---|
10 | listen-on-v6 { ::1; };
|
---|
11 |
|
---|
12 | // forward only;
|
---|
13 | forwarders {
|
---|
14 | 62.251.0.7; 62.251.0.6;
|
---|
15 | };
|
---|
16 |
|
---|
17 | query-source address * port 53;
|
---|
18 | };
|
---|
19 |
|
---|
20 | view "internal" {
|
---|
21 | match-clients { 10.0.0.0/8; 127.0.0.1/32; };
|
---|
22 | recursion yes;
|
---|
23 |
|
---|
24 | include "internet.conf";
|
---|
25 | include "thuis.conf";
|
---|
26 | include "wleiden-slave-int.conf";
|
---|
27 |
|
---|
28 | // Trap two local domains.
|
---|
29 | //
|
---|
30 | zone "foem.wleiden.net" {
|
---|
31 | type master;
|
---|
32 | file "master/foem.wleiden.net";
|
---|
33 | };
|
---|
34 | zone "leiden.webweaving.org" {
|
---|
35 | type master;
|
---|
36 | file "master/leiden.webweaving.org";
|
---|
37 | };
|
---|
38 |
|
---|
39 | };
|
---|
40 | view "wleiden" {
|
---|
41 | match-clients { 172.16.0.0/12; };
|
---|
42 |
|
---|
43 | recursion yes;
|
---|
44 |
|
---|
45 | include "wleiden-slave-int.conf";
|
---|
46 | };
|
---|
47 |
|
---|
48 | view "external" {
|
---|
49 | match-clients { any; };
|
---|
50 | recursion no;
|
---|
51 |
|
---|
52 | include "internet.conf";
|
---|
53 |
|
---|
54 | zone "publicap.leiden.webweaving.org" {
|
---|
55 | type master;
|
---|
56 | file "master/publicap.leiden.webweaving.org";
|
---|
57 | allow-update { key PAP_DHCP_UPDATER; };
|
---|
58 | };
|
---|
59 |
|
---|
60 | zone "leiden.webweaving.org" {
|
---|
61 | type master;
|
---|
62 | file "master/leiden-ext.webweaving.org";
|
---|
63 | };
|
---|
64 |
|
---|
65 | include "wleiden-slave-bridge.conf";
|
---|
66 | };
|
---|
67 |
|
---|
68 | view "world" {
|
---|
69 | match-clients { 0/0; };
|
---|
70 | recursion yes;
|
---|
71 |
|
---|
72 | zone "." {
|
---|
73 | type hint;
|
---|
74 | file "named.root";
|
---|
75 | };
|
---|
76 |
|
---|
77 | zone "0.0.127.IN-ADDR.ARPA" {
|
---|
78 | type master;
|
---|
79 | file "master/localhost.rev";
|
---|
80 | };
|
---|
81 |
|
---|
82 | // RFC 3152
|
---|
83 | zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA" {
|
---|
84 | type master;
|
---|
85 | file "master/localhost-v6.rev";
|
---|
86 | };
|
---|
87 | };
|
---|
88 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.