unbound/cache.conf: make the min ttl an hour in my quest to break DNS

This commit is contained in:
Aminda Suomalainen 2024-04-28 19:15:42 +03:00
parent 23672028d5
commit 4081c974bb
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -16,7 +16,10 @@ server:
# 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
#cache-min-ttl: 3000
# Why not just make it hour directly, while that is considered as a
# maximum reasonableish value?
cache-min-ttl: 3600
# Update cache for popular items before they expire. ~10 % traffic
# increase according to `man unbound.conf`
prefetch: yes