I just upgraded to 26.7.10 and noticed change of behaviour with unbound resolving some local names (static dhcp hosts under Kea). I restored 26.7.9 as I was not in a position to look in to it further and forgot to check generated contents /var/unbound/host_entries.conf.
Unbound appears not to be picking up Kea subnet domain when it has been set explicitly in a subnet's DHCP domain option. Unbound will only resolve the respective hosts under the default domain.
I wanted to offer a migration but at the same time we didn't know as it was a bit of an assumption.
Its documented here:
https://github.com/opnsense/docs/commit/10c01b996cb0b9ed3e12f5d09bef2b2fd2e22510
Many thanks @Monviech. I will make sure to set that option once I've rerun the upgrade.
I have been using a custom unbound snippet in order to prevent additional domains from being resolved upstream:
#/usr/local/etc/unbound.opnsense.d/custom.conf
local-zone: "local.lan" static
Is this still OK?
Nothing about Unbound was changed so I think thats okay.