OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: rmayr on May 28, 2021, 09:10:50 PM

Title: 21.1.6 broke DHCP leases in unbound
Post by: rmayr on May 28, 2021, 09:10:50 PM
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.
Title: Re: 21.1.6 broke DHCP leases in unbound
Post by: franco on May 28, 2021, 10:55:00 PM
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
Title: Re: 21.1.6 broke DHCP leases in unbound
Post by: rmayr on June 18, 2021, 12:41:55 PM
This seems to be fixed in 21.1.7. Thanks!