Hi Neil,

> I have looked at the environment passed to the shell script but can't 
> identify a difference that makes some leases4_committed callouts "empty"
for some renewals.

Perhaps lease caching
(https://kea.readthedocs.io/en/stable/arm/dhcp4-srv.html#lease-caching)?

Aside: I am curious in what way your are updating Unbound?  My
understanding is that Unbound is resolver only.  If it was
authoritative (as is possible with BIND, Knot, and power DNS), you
could probably use ddns
(https://kea.readthedocs.io/en/stable/arm/dhcp4-srv.html#ddns-for-dhcpv4)
to update records (which would be easier, and more performant)?

Thank you,
Darren Ankney

On Sat, Nov 14, 2026 at 6:39 AM Neil via Kea-users
<[email protected]> wrote:
>
> I am using a shell script to update Unbound DNS with Kea leases (adapted
> from https://github.com/nvandamme/kea-lease-unbound-control) and can't
> figure out what causes the leases4_committed callout to be empty (i.e
> $LEASES4_SIZE=0 and $DELETED_LEASES4_SIZE=0).
> It appears so far that a lease4_renew callout is always followed by a
> leases4_committed, but the latter may or may not be empty.
> I have looked at the environment passed to the shell script but can't
> identify a difference that makes some leases4_committed callouts "empty"
> for some renewals.
>
> Regards,
>
> Neil.
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> [email protected]
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]

Reply via email to