26.7.10, unbound and Kea static lease domains

Started by keeka, November 24, 2026, 06:43:48 PM

Previous topic - Next topic
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
Hardware:
DEC740

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.
Hardware:
DEC740

Yet there was a change. I saw that on one machine as well. As it turns out, I had to include the local domain in the subnet definitions of Kea in the "search domains" and also change the machine name domain to make it work.

I did not investigate much, but I found that only the machine name domain got appended to an unqualified DNS entry. In my case, that was a FQDN.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, Leox LXT-010H-D

1100 down / 450 up, Bufferbloat A+