Question about DNS Caching #7428
Replies: 1 comment 2 replies
-
Cached responses are retained indefinitely until they are replaced by new responses. This depends on the size of the cache ( If you enable the "Optimistic Caching" setting ( The "filtering.cache_time" setting defines how long hashes, used for safe browsing and parental control, are stored. |
Beta Was this translation helpful? Give feedback.
-
I have a question about how DNS Caching works with AGH.
If I enable the Cache (i.e. specify a Cache Size) - what happens when items expire - are they retained or deleted from the cache?
If I enable Optimistic Caching - does this mean items are cached indefinitely (retained forever?) even after expiration and then served and refreshed in the background (i.e. like Unbound's serve-expired setting)?
On the Configuration Page I see a reference to this:
cache_time: Time interval in minutes for keeping cache records.
And in the YAML file it's set to "30" - does this mean cached items are only retained for 30 minutes?
Does this get reset each time they are called from the cache and updated?
Beta Was this translation helpful? Give feedback.
All reactions