2017-06-13 05:48:27 +08:00
|
|
|
server:
|
2017-06-13 13:41:13 +08:00
|
|
|
verbosity: 1
|
2017-06-13 05:48:27 +08:00
|
|
|
interface: 0.0.0.0
|
|
|
|
interface: ::0
|
|
|
|
logfile: /dev/stdout
|
|
|
|
do-ip4: yes
|
|
|
|
do-ip6: yes
|
|
|
|
do-udp: yes
|
|
|
|
do-tcp: yes
|
|
|
|
do-daemonize: no
|
|
|
|
access-control: 172.22.1.0/24 allow
|
|
|
|
access-control: fd4d:6169:6c63:6f77::/64 allow
|
|
|
|
directory: "/etc/unbound"
|
|
|
|
username: unbound
|
|
|
|
auto-trust-anchor-file: trusted-key.key
|
|
|
|
private-address: 10.0.0.0/8
|
|
|
|
private-address: 172.16.0.0/12
|
|
|
|
private-address: 192.168.0.0/16
|
|
|
|
private-address: 169.254.0.0/16
|
|
|
|
private-address: fd00::/8
|
|
|
|
private-address: fe80::/10
|
|
|
|
root-hints: "/etc/unbound/root.hints"
|
2017-06-14 05:38:24 +08:00
|
|
|
hide-identity: yes
|
|
|
|
hide-version: yes
|
|
|
|
qname-minimisation: yes
|
|
|
|
minimal-responses: yes
|
|
|
|
num-threads: 3
|
2017-06-13 05:48:27 +08:00
|
|
|
remote-control:
|
|
|
|
control-enable: yes
|
|
|
|
server-key-file: /etc/unbound/unbound_server.key
|
|
|
|
server-cert-file: /etc/unbound/unbound_server.pem
|
|
|
|
control-key-file: /etc/unbound/unbound_control.key
|
|
|
|
control-cert-file: /etc/unbound/unbound_control.pem
|