BBN_Emulab: named.conf

File named.conf, 1.4 KB (added by czhang@bbn.com, 10 years ago)
Line 
1#
2# DNS configuration for geni-emuhost.bbn.com
3#
4
5#####################
6# IMPORTANT!!!!
7#
8# Note that there are now two 'views' in this file, and unfortunately, we
9# have to duplicate all zones in both of them! So, if you make any zone
10# changes, make sure to make them in both places!!!
11#####################
12
13#
14# global server configuration options
15#
16options {
17    directory "/etc/namedb";
18    forwarders {
19        128.33.0.20;
20        128.33.1.20;
21    };
22};
23
24view "internal" {
25    match-clients {
26        127.0.0.0/8;
27        192.168.56.0/24;
28        172.16.0.0/12;
29    };
30
31    zone "bbn.com" in {
32        type master;
33        file "bbn.com.internal.db";
34    };
35
36    zone "0.0.127.in-addr.arpa" {
37              type master;
38              file "localhost.rev";
39          };
40
41    zone "." in {
42              type hint;
43              file "named.root";
44          };
45
46    zone "56.168.192.in-addr.arpa" in {
47        type master;
48        file "reverse/192.168.56.db";
49    };
50};
51
52view "external" {
53    match-clients {
54        any;
55    };
56
57    zone "bbn.com" in {
58        type master;
59        file "bbn.com.db";
60    };
61
62    zone "0.0.127.in-addr.arpa" {
63              type master;
64              file "localhost.rev";
65          };
66
67    zone "." in {
68              type hint;
69              file "named.root";
70          };
71
72    zone "80.89.128.in-addr.arpa" in {
73        type master;
74        file "reverse/128.89.80.db";
75    };
76    zone "81.89.128.in-addr.arpa" in {
77        type master;
78        file "reverse/128.89.81.db";
79    };
80};
81