It may not be related to your issue, but I had a similar Unbound DNS problem (after an OPNsense reboot) with name resolution for internal devices. My issue went away after I started Zenarmor (it was stopped for some reason) and ran a pending Zenarmor update.
As I was sorting through a DHCP issue with my Unifi APs after an OPNsense reboot, I noticed that name resolution was failing for internal devices. I restarted Unbound and verified that my desktop (dhcp client) had the correct DNS server specified, but I still could not ping any of my internal devices by name. Looking through my Services on the OPNsense Dashboard, I noticed that Zenarmor was not running. I started Zenarmor and ran the pending update. I don't know whether Zenarmor being in a 'not running' state had anything to do with the name resolution failure, but after the Zenarmor update completed, name resolution was working again.
Will
As I was sorting through a DHCP issue with my Unifi APs after an OPNsense reboot, I noticed that name resolution was failing for internal devices. I restarted Unbound and verified that my desktop (dhcp client) had the correct DNS server specified, but I still could not ping any of my internal devices by name. Looking through my Services on the OPNsense Dashboard, I noticed that Zenarmor was not running. I started Zenarmor and ran the pending update. I don't know whether Zenarmor being in a 'not running' state had anything to do with the name resolution failure, but after the Zenarmor update completed, name resolution was working again.
Will
"