Skip to content

Commit

Permalink
Limit cache TTL in central unbound in Docker image
Browse files Browse the repository at this point in the history
See comments in #1292. Prevents stale responses.
  • Loading branch information
mxsasha committed Feb 28, 2024
1 parent c22b15c commit e355131
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/resolver/resolver-permissive.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ server:
module-config: "iterator"
chroot: ""

cache-max-ttl: 60
cache-max-negative-ttl: 60

logfile: /dev/stdout
${DEBUG_LOG_UNBOUND_STATEMENTS}

Expand Down
3 changes: 3 additions & 0 deletions docker/resolver/resolver-validating.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ server:
module-config: "validator iterator"
chroot: ""

cache-max-ttl: 60
cache-max-negative-ttl: 60

logfile: /dev/stdout
${DEBUG_LOG_UNBOUND_STATEMENTS}

Expand Down

0 comments on commit e355131

Please sign in to comment.