I have recently switched internet providers, and have implemented pppoe on OPNsense. With the internet provider supplied router in bridge mode, once every day or so a new IP address is issued to OPNsense, which creates a new route entry, which causes Unbound to stop working.
Once a day, when the DNS stops resolving, I simply login to OPNsense and restart Unbound, which restores proper operation, but I am wondering if there is some automated way to handle this situation so that no manual intervention is required?
This is on 16.1.8? Can you provide the unbound log directly after the incident before restart? PM me if you like.
Thanks!
Just happened, have log. Will send via PM.
And yes, it's 16.1.8.
Hi (Franco),
is there any progress on this topic ? - i have the same problem... This is a very annoying "feature". ;)
regards pylox
Yes, we've resolved this with gratis in private conversations. In this case the "outgoing interface" was set to something other than all/any, which has this inherent behaviour with unbound. This is not a bug, it's intentional like DHCP can't run on non-static interfaces. Do not use dynamically configured interfaces as outgoing interfaces.
We still do want to improve the GUI, but there are far more important areas at the moment.
https://github.com/opnsense/core/issues/881