OPNsense Forum

English Forums => 26.1 Series => Topic started by: updatelee on February 18, 2026, 08:25:25 PM

Title: unbound bug. DHCP clients can crash unbound.
Post by: updatelee on February 18, 2026, 08:25:25 PM
Im using Kea DHCP and Unbound DNS. If within Unbound you enable Register static mappings and Register ISC DHCP4 Leases and the DHCP client decides to have a hostname ending in a '.' for example 'xboxone.' then Unbound tries to register 'xboxone..mydomain.com' which isnt valid obviously and crashes unbound. Pretty simple little DoS lol. imo Kea DHCP and Unbound should both be checking that. Thoughts?
Title: Re: unbound bug. DHCP clients can crash unbound.
Post by: vimage22 on February 18, 2026, 09:09:56 PM
There is a reason for this. First, you cannot have kea and ISC active at the same time. So uncheck Register ISC DHCP4 Leases and make sure ISC is disabled. Next, kea adds a dot to the end of a hostname to signify no further resolution is required. (from kea documentation) This works until you decide to add a reservation. If you add a reservation, in the edit area, remove the trailing dot. The new reservation then works correctly and does not crash unbound.