forked from smarek/android-unbound-dns
-
Notifications
You must be signed in to change notification settings - Fork 2
/
unbound.conf
38 lines (37 loc) · 1.1 KB
/
unbound.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
server:
verbosity: 1
interface: 127.0.0.1
interface: ::1
# interface: 0.0.0.0
port: 53
do-ip4: yes
do-ip6: yes
do-udp: yes
do-tcp: yes
do-daemonize: no
# access-control: 0.0.0.0/0 refuse
access-control: 0.0.0.0/0 allow_snoop
# access-control: ::0/0 refuse
access-control: ::0/0 allow_snoop
do-not-query-address: 127.0.0.1/8
do-not-query-address: ::1
do-not-query-localhost: yes
prefetch: yes
prefetch-key: yes
directory: ""
chroot: ""
username: ""
logfile: "mainlog"
pidfile: "unbound.pid"
auto-trust-anchor-file: "root.key"
harden-dnssec-stripped: yes
remote-control:
control-enable: yes
# control-interface: 0.0.0.0
control-interface: 127.0.0.1
control-interface: ::1
control-port: 8953
server-key-file: "unbound_server.key"
server-cert-file: "unbound_server.pem"
control-key-file: "unbound_control.key"
control-cert-file: "unbound_control.pem"