-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnamed.conf
140 lines (108 loc) · 2.46 KB
/
named.conf
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { any; };
forwarders { 192.168.102.100; };
listen-on-v6 port 53 { any; };
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 { any; };
recursion yes;
dnssec-enable yes;
dnssec-validation no;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
empty-zones-enable yes;
disable-empty-zone "168.192.IN-ADDR.ARPA";
disable-empty-zone "8.E.F.IP6.ARPA";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "c28.ifrn.local" IN {
type master;
file "c28.local.zone";
};
zone "projeto.ifrn.local" IN {
type master;
file "projeto.local.zone";
};
zone "filho.c27.ifrn.local" IN{
type slave;
file "/var/named/filho.c27.ifrn.local.zone";
masters {192.168.102.127;};
};
zone "oculta.ifrn.local" {
type slave;
file "oculta.zone";
masters {192.168.102.104;};
};
zone "container28.ifrn.local" IN {
type master;
file "container28.local.zone";
};
zone "filho.container28.ifrn.local" IN {
type master;
file "filho.container28.local.zone";
};
zone "ip6-28.local" IN {
type master;
file "pai.zone";
allow-transfer { fd1f:ff::04; };
allow-query { any; };
allow-update { none; };
notify yes;
};
zone "f1.ip6-28.local" IN {
type master;
file "f1.zone";
notify yes;
allow-update { none; };
allow-transfer { fd1f:ff::04; };
allow-query { any; };
};
zone "f2.ip6-28.local" IN {
type master;
file "f2.zone";
notify yes;
allow-update { none; };
allow-transfer { fd1f:ff::04; };
allow-query { any; };
};
zone "ftp28.local" IN {
type master;
file "ftp28.local.zone";
allow-query { any; };
};
zone "f.ftp28.local" IN {
type master;
file "f.ftp28.local";
};
zone "mail28.local" IN {
type master;
file "mail28.local.zone";
allow-query { any; };
};
zone "f.mail28.local" IN {
type master;
file "f.mail28.local";
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.conf.projeto";
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";