I have done the workaround many have suggested to cure the flapping, by putting a switch between the modem & the OPNSense box. And I have another modem on the way to see if that really fixes it rather than works around it.
So right now I can't test this (because I can't afford to degrade the system for testing's sake).
For the record, I did not reboot OPNSense after changing Unbound to listen on All. I will definitely try that if this problem rears its head again.
Also for the record:
OPNsense 26.1.8_5-amd64
It's an AppNeta m70, & it has 2 Intel I211 1GbE ports with igb drivers, & 4 Intel X553 1GbE with ix drivers.
The original connection was Ethernet cable directly between modem & one of the X553 ports. Then tried putting the WAN port on other of the X553, then on each of the I211 ports. No luck there. Currently there is un unmanaged switch between the modem & the OPNSense, which has cured the flapping & also the Unbound restarts.
The only clues in the General log were the Ethernet reconnection up/down events (flapping) which corresponded with the Unbound restarts in the Unbound logs. When those went away, so did the Unbound restarts.
So right now I can't test this (because I can't afford to degrade the system for testing's sake).
For the record, I did not reboot OPNSense after changing Unbound to listen on All. I will definitely try that if this problem rears its head again.
Also for the record:
OPNsense 26.1.8_5-amd64
It's an AppNeta m70, & it has 2 Intel I211 1GbE ports with igb drivers, & 4 Intel X553 1GbE with ix drivers.
The original connection was Ethernet cable directly between modem & one of the X553 ports. Then tried putting the WAN port on other of the X553, then on each of the I211 ports. No luck there. Currently there is un unmanaged switch between the modem & the OPNSense, which has cured the flapping & also the Unbound restarts.
The only clues in the General log were the Ethernet reconnection up/down events (flapping) which corresponded with the Unbound restarts in the Unbound logs. When those went away, so did the Unbound restarts.
"