Bug #4036 ยป unbound.conf
1 |
##########################
|
---|---|
2 |
# Unbound Configuration
|
3 |
##########################
|
4 |
|
5 |
##
|
6 |
# Server configuration
|
7 |
##
|
8 |
server:
|
9 |
|
10 |
chroot: /var/unbound |
11 |
username: "unbound" |
12 |
directory: "/var/unbound" |
13 |
pidfile: "/var/run/unbound.pid" |
14 |
use-syslog: yes |
15 |
port: 53 |
16 |
verbosity: 4 |
17 |
hide-identity: no |
18 |
hide-version: yes |
19 |
harden-referral-path: no |
20 |
harden-glue: no |
21 |
do-ip4: yes |
22 |
do-ip6: yes |
23 |
do-udp: yes |
24 |
do-tcp: yes |
25 |
do-daemonize: yes |
26 |
module-config: "iterator" |
27 |
unwanted-reply-threshold: 0 |
28 |
num-queries-per-thread: 1024 |
29 |
jostle-timeout: 500 |
30 |
infra-host-ttl: 900 |
31 |
infra-lame-ttl: 900 |
32 |
infra-cache-numhosts: 20000 |
33 |
outgoing-num-tcp: 40 |
34 |
incoming-num-tcp: 40 |
35 |
edns-buffer-size: 4096 |
36 |
cache-max-ttl: 240 |
37 |
cache-min-ttl: 0 |
38 |
harden-dnssec-stripped: no |
39 |
msg-cache-size: 250m |
40 |
num-threads: 2 |
41 |
msg-cache-slabs: 4 |
42 |
rrset-cache-slabs: 4 |
43 |
infra-cache-slabs: 4 |
44 |
key-cache-slabs: 4 |
45 |
rrset-cache-size: 8m |
46 |
outgoing-range: 462 |
47 |
#so-rcvbuf: 4m
|
48 |
|
49 |
prefetch: yes |
50 |
prefetch-key: yes |
51 |
# Statistics
|
52 |
# Unbound Statistics
|
53 |
statistics-interval: 0 |
54 |
extended-statistics: yes |
55 |
statistics-cumulative: yes |
56 |
|
57 |
# Interface IP(s) to bind to
|
58 |
interface: 0.0.0.0 |
59 |
interface: ::0 |
60 |
|
61 |
|
62 |
|
63 |
# DNS Rebinding
|
64 |
|
65 |
|
66 |
|
67 |
# Access lists
|
68 |
include: /var/unbound/access_lists.conf |
69 |
|
70 |
# Static host entries
|
71 |
include: /var/unbound/host_entries.conf |
72 |
|
73 |
# dhcp lease entries
|
74 |
include: /var/unbound/dhcpleases_entries.conf |
75 |
|
76 |
# Domain overrides
|
77 |
include: /var/unbound/domainoverrides.conf |
78 |
# Forwarding
|
79 |
forward-zone: |
80 |
name: "." |
81 |
forward-addr: 208.67.222.222 |
82 |
forward-addr: 208.67.220.220 |
83 |
|
84 |
|
85 |
|
86 |
|
87 |
###
|
88 |
# Remote Control Config
|
89 |
###
|
90 |
include: /var/unbound/remotecontrol.conf |