Commit Graph

7 Commits

Author SHA1 Message Date
Frank Olbricht
a72e6b3a6c Avoid loading bad cache records from disk (#340) 2023-09-25 10:18:37 +02:00
Frank Olbricht
430b532b49 Separate DNSSEC queries from normal queries in the cache (#322)
* Separate DNSSEC queries from normal queries in the cache

* Update key generation for redis too
2023-08-23 09:43:52 +02:00
Frank Olbricht
94069a220b Implement memory backend with persistence (#300)
* Implement memory backend with persistence

* Save cache on SIGTERM

* Write to disk in an interval

* Also store expiry in cach file

---------

Co-authored-by: Charles Porth <charlieporth1@gmail.com>
2023-05-12 09:21:00 +09:00
folbrich
e3ae13f953 Prefetch feature in cache 2023-01-26 11:55:20 +01:00
Frank Olbricht
d7e1a578e3 Support flushing a cache remotely (#168) 2021-08-05 22:09:29 -06:00
Frank Olbricht
4596fbad3e Cache based on query and ECS subnet address (#73) 2020-07-05 14:42:52 -06:00
Frank Olbricht
ab8a47f2ef New cache options to limit the size and set negative-TTL and ttl-modifier (#37)
* New cache options to limit the size and set negative-TTL

* Add ttl-modifier
2020-05-31 14:29:32 -06:00