unbound/cache.conf: explicitly set serve-expired-reply-ttl to 30

This commit is contained in:
Aminda Suomalainen 2024-04-27 16:52:39 +03:00
parent d3773468fa
commit 652c11391f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -27,6 +27,8 @@ server:
serve-expired: yes serve-expired: yes
# Serve expired data up to one day (RFC 8767) # Serve expired data up to one day (RFC 8767)
serve-expired-ttl: 86400 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 # 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 # common timeout 2 seconds according to the RFC 8767
#serve-expired-client-timeout: 1800 #serve-expired-client-timeout: 1800