OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: wanttotree on December 18, 2018, 09:56:58 am

Title: How do i prevent unbound dns flush
Post by: wanttotree on December 18, 2018, 09:56:58 am
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.
Title: Re: How do i prevent unbound dns flush
Post by: franco on January 02, 2019, 05:56:42 pm
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