39 lines
890 B
Plaintext
39 lines
890 B
Plaintext
server:
|
|
interface: 0.0.0.0
|
|
port: 1053
|
|
do-ip4: yes
|
|
do-ip6: no
|
|
do-udp: yes
|
|
do-tcp: yes
|
|
root-hints: "/etc/unbound/named.cache"
|
|
cache-min-ttl: 300
|
|
cache-max-ttl: 86400
|
|
prefetch: yes
|
|
num-threads: 4
|
|
verbosity: 1
|
|
# log-queries: yes
|
|
log-queries: no
|
|
# log-replies: yes
|
|
logfile: ""
|
|
log-time-ascii: yes
|
|
log-servfail: yes
|
|
# log-local-actions: yes
|
|
use-syslog: no
|
|
msg-cache-slabs: 8
|
|
rrset-cache-slabs: 8
|
|
infra-cache-slabs: 8
|
|
key-cache-slabs: 8
|
|
rrset-cache-size: 256m
|
|
msg-cache-size: 128m
|
|
private-address: 10.0.0.0/8
|
|
private-address: 172.16.0.0/12
|
|
private-address: 192.168.0.0/16
|
|
access-control: 10.0.0.0/8 allow
|
|
access-control: 127.0.0.0/8 allow
|
|
access-control: 172.0.0.0/8 allow
|
|
python:
|
|
dynlib:
|
|
remote-control:
|
|
control-enable: yes
|
|
control-interface: /run/unbound.control.sock
|