We're implementing fast_reload in Unbound #DNS resolver. It works by creating a thread that reads the configuration and allocates memory. Then, it quickly halts the other threads, updates the config and swaps the trees of forwards and stubs in place, and continues the other threads. A test with thousands of forwards has a reload time of 0.027s with 0.0003s spent in halting the other threads. https://github.com/NLnetLabs/unbound/pull/1015
Add comment