mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
unbound/cache: comment cache-min-ttl=900, add commented 3000
This commit is contained in:
parent
30a27f980d
commit
a083a9d704
@ -10,11 +10,13 @@ server:
|
||||
rrset-cache-size: 50m
|
||||
# nxdomain cache, default 1m
|
||||
neg-cache-size: 10m
|
||||
# Cache results for 15 minutes even if they had a shorter TTL. Cloudflare
|
||||
# zone export used to have 1 second, and I have also been seeing 1
|
||||
# minute in the wild, I think 5 mins shouldn't break anything, but bigger
|
||||
# might.
|
||||
cache-min-ttl: 900
|
||||
# Increases TTL of all queries to 900 seconds (5 minutes) if upstream has
|
||||
# a lower one. I have been using this since August 2019 without issues.
|
||||
#cache-min-ttl: 900
|
||||
# https://blog.apnic.net/2019/11/12/stop-using-ridiculously-low-dns-ttls/
|
||||
# dares setting the minimum cache to something between 40 minute and 60,
|
||||
# so how about 50 minutes? However it predates RFC 8767.
|
||||
#cache-min-ttl: 3000
|
||||
# Update cache for popular items before they expire. ~10 % traffic
|
||||
# increase according to `man unbound.conf`
|
||||
prefetch: yes
|
||||
|
Loading…
Reference in New Issue
Block a user