How do i prevent unbound dns flush

Started by wanttotree, December 18, 2018, 09:56:58 AM

Previous topic - Next topic
December 18, 2018, 09:56:58 AM Last Edit: December 18, 2018, 01:01:10 PM by wanttotree
Hello everyone, i wanna know if there are workoaround to unbound flushing the dns cache.
My isp provide dynamic ip through pppoe. But it will renew the ip every 48hours. I understand unbound will restart itself when it detects ip change. Is there something i can do for it to keep dns cache intact? Thank you in advance.

This is tricky due to how Unbound is implemented as it doesn't provide a proper SIGHUP handler. This is on my wish list to work around but low priority. You can find the issue referenced at:

https://github.com/opnsense/core/issues/2750


Cheers,
Franco