With my standard configuration, unbound can no longer start after updating to 21.1.6. I tracked down the issue to a wrong format being exported to /var/unbound/host_entries.conf when multiple domains are listed in the "domain search list": then all the domains are added to the static lease entry in /var/unbound/host_entries.conf instead of only the "domain name" for the respective host. This prevents unbound from starting.
The current workaround is to remove additional domains from the "domain search list" and set it the same as "domain name", but this breaks some other use cases in my setup.
Certainly https://github.com/opnsense/core/commit/64268c5710
Can you revert to confirm?
# opnsense-patch 64268c5710
A diff between the working and the non-working host_entries.conf would help diagnose further.
Cheers,
Franco
This seems to be fixed in 21.1.7. Thanks!