Is there a way to restart unbound(8) DNS service without flushing the cache? Or Is there a way to reload unbound(8) DNS config without clearing the cache?
The only reload command in the unbound-control() man page says "flushes the cache and reads the config file fresh", so that looks like a dead end.
There does appear to be dump_cache and load_cache options though which would allow you to export the current cache, restart unbound then load it back in again. It does say 'only for debugging', although I can't see why it should cause any major problems if you're dumping/restart/loading in succession.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.