Mercurial > repos > other > Puppet
annotate common/named.conf-ibbvps @ 276:165ad12ea8ca
Remove Perl LZMA module because it's in beta
We don't get LZMA files by email anyway, so not
scanning them shouldn't be a problem
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 26 Jan 2020 12:06:43 +0000 |
parents | 5f63afb70415 |
children |
rev | line source |
---|---|
247 | 1 // |
2 // named.conf | |
3 // | |
4 // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS | |
5 // server as a caching only nameserver (as a localhost DNS resolver only). | |
6 // | |
7 // See /usr/share/doc/bind*/sample/ for example named configuration files. | |
8 // | |
9 | |
10 options { | |
11 listen-on port 53 { 127.0.0.1; }; | |
12 listen-on-v6 port 53 { ::1; }; | |
13 directory "/var/named"; | |
14 dump-file "/var/named/data/cache_dump.db"; | |
15 statistics-file "/var/named/data/named_stats.txt"; | |
16 memstatistics-file "/var/named/data/named_mem_stats.txt"; | |
17 allow-query { localhost; }; | |
18 | |
19 /* | |
20 - If you are building an AUTHORITATIVE DNS server, do NOT enable recursion. | |
21 - If you are building a RECURSIVE (caching) DNS server, you need to enable | |
22 recursion. | |
23 - If your recursive DNS server has a public IP address, you MUST enable access | |
24 control to limit queries to your legitimate users. Failing to do so will | |
25 cause your server to become part of large scale DNS amplification | |
26 attacks. Implementing BCP38 within your network would greatly | |
27 reduce such attack surface | |
28 */ | |
29 recursion yes; | |
30 max-cache-size 10m; | |
31 | |
32 forwarders { | |
260
5f63afb70415
Fix naming of files for new VPS overrides
IBBoard <dev@ibboard.co.uk>
parents:
247
diff
changeset
|
33 2a00:1098:0:80:1000:3b:0:1; |
5f63afb70415
Fix naming of files for new VPS overrides
IBBoard <dev@ibboard.co.uk>
parents:
247
diff
changeset
|
34 2a00:1098:0:82:1000:3b:0:1; |
247 | 35 }; |
36 | |
37 dnssec-enable yes; | |
38 dnssec-validation yes; | |
39 | |
40 /* Path to ISC DLV key */ | |
41 bindkeys-file "/etc/named.iscdlv.key"; | |
42 | |
43 managed-keys-directory "/var/named/dynamic"; | |
44 | |
45 pid-file "/run/named/named.pid"; | |
46 session-keyfile "/run/named/session.key"; | |
47 }; | |
48 | |
49 logging { | |
50 channel default_debug { | |
51 file "data/named.run"; | |
52 severity dynamic; | |
53 }; | |
54 }; | |
55 | |
56 zone "." IN { | |
57 type hint; | |
58 file "named.ca"; | |
59 }; | |
60 | |
61 include "/etc/named.rfc1912.zones"; | |
62 include "/etc/named.root.key"; | |
63 |