dns_cache: Support periodically saving cache files

This commit is contained in:
Nick Peng
2023-04-29 00:21:24 +08:00
parent 56d0332bf9
commit d3a6d46a44
7 changed files with 96 additions and 6 deletions

View File

@@ -66,6 +66,10 @@ bind [::]:53
# cache persist file
# cache-file /tmp/smartdns.cache
# cache persist time
# cache-checkpoint-time [second]
# cache-checkpoint-time 86400
# prefetch domain
# prefetch-domain [yes|no]
# prefetch-domain yes