… so every restart resets the dns cache as well. This is quite annoying with adblock in place, where every blocklist refresh leads into a kresd restart / cache reset …
Proposal: add this small piece of code to /etc/init.d/kresd and make it configurable via “msg_keep_cache”. The variable defaults to “0” (clear cache), however now it’s possible to control/change the cache behaviour.
/cc @paja. From kresd upstream point of view, starting with 1.3.x there should no longer appear problems with DNS that were possible to work around by clearing the cache. There might still be other motivation to “start from a clear state” by default, but restarting the process is the easiest way to “reload configuration”, due to configuration being just a lua script that can (potentially) alter daemon’s internal state in any way…
Most probably we have it set to not allow external people to create their own repositories (we are not git hosting after all). Until now everyone just submitted patches (git format-patch) so that is the way I would suggest.