-
Notifications
You must be signed in to change notification settings - Fork 9
/
named.conf
58 lines (48 loc) · 1.1 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
acl trusted {
127.0.0.1/32;
192.168.0.0/16;
172.16.0.0/16;
61.160.235.0/24;
};
options {
directory "/home/named";
managed-keys-directory "dynamic";
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
allow-recursion { trusted; };
allow-transfer { trusted; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "named.iscdlv.key";
};
statistics-channels {
inet 127.0.0.1 port 8053 allow { 127.0.0.1; };
};
logging {
channel my_log {
syslog local7;
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
#category update { my_log; };
category update { null; };
category queries { null; };
};
zone "." IN {
type hint;
file "named.ca";
};
include "rndc.key";
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
# key for dyndns update
include "dzones.key";
include "named.rfc1912.zones";