29 lines
537 B
Text
29 lines
537 B
Text
|
server:
|
||
|
interface: {{ unbound_ip4 }}
|
||
|
port: {{ unbound_port }}
|
||
|
access-control: {{ unbound_ip4_subnet }} allow_snoop
|
||
|
verbosity: 2
|
||
|
|
||
|
logfile: "/var/log/unbound/unbound.log"
|
||
|
log-time-ascii: yes
|
||
|
statistics-cumulative: yes
|
||
|
|
||
|
# Optimization
|
||
|
num-threads: 3
|
||
|
msg-cache-slabs: 2
|
||
|
rrset-cache-slabs: 2
|
||
|
infra-cache-slabs: 2
|
||
|
key-cache-slabs: 2
|
||
|
|
||
|
rrset-cache-size: 257051306
|
||
|
msg-cache-size: 128525653
|
||
|
|
||
|
so-reuseport: yes
|
||
|
|
||
|
minimal-responses: yes
|
||
|
|
||
|
prefetch: yes
|
||
|
prefetch-key: yes
|
||
|
|
||
|
serve-expired: yes
|
||
|
cache-max-ttl: 3600
|