2024-04-30 05:45:53 +02:00
|
|
|
server:
|
|
|
|
# Update cache for popular items before they expire. ~10 % traffic
|
|
|
|
# increase according to `man unbound.conf`
|
|
|
|
prefetch: yes
|
|
|
|
# Fetch keys when DS is encountered, lower latency for a bit higher CPU use
|
|
|
|
prefetch-key: yes
|
|
|
|
# Allow expired results to be served if they are in cache. The cache will
|
|
|
|
# get updated the next time.
|
|
|
|
serve-expired: yes
|
|
|
|
# Serve expired data up to one day (RFC 8767)
|
|
|
|
serve-expired-ttl: 86400
|
|
|
|
# If serving expired data to client, explicitly give it TTL 30 seconds
|
|
|
|
serve-expired-reply-ttl: 30
|
|
|
|
# Serve expired data to client if there is no answer in 1.8 seconds as per
|
|
|
|
# common timeout 2 seconds according to the RFC 8767
|
2024-05-01 08:54:07 +02:00
|
|
|
serve-expired-client-timeout: 1800
|
2024-04-30 05:45:53 +02:00
|
|
|
# Human readable DNSSEC errors for expired records
|
|
|
|
ede-serve-expired: yes
|
|
|
|
|
|
|
|
# vim: filetype=unbound.conf
|