OPNsense Forum

English Forums => 26.7, 26.10 Series => Topic started by: keeka on November 24, 2026, 06:43:48 PM

Title: 26.7.10, unbound and Kea static lease domains
Post by: keeka on November 24, 2026, 06:43:48 PM
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.
Title: Re: 26.7.10, unbound and Kea static lease domains
Post by: Monviech (Cedrik) on November 24, 2026, 08:47:31 PM
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
Title: Re: 26.7.10, unbound and Kea static lease domains
Post by: keeka on November 24, 2026, 09:07:22 PM
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?
Title: Re: 26.7.10, unbound and Kea static lease domains
Post by: Monviech (Cedrik) on November 24, 2026, 09:12:08 PM
Nothing about Unbound was changed so I think thats okay.