Darren,

Thanks for the reply. I would think lease caching might be associated those renewals that don't have a leases4_committed callout? I was really wondering why leases4_committed would be called when there was no data in it! I am using a shell script because searching lead me to believe Kea used TSIG for D2 and this was unsupported by Unbound. I am writing my local network DHCP leases to Unbound as "local_data" so it is effectively authoritative for the local network and I can manage using hostnames resolved by DNS rather than any other method (/etc/hosts, mDNS...). I used https://github.com/nvandamme/kea-lease-unbound-control as my starting point. There is a lot to take on board in Kea and since I have a functioning setup I may not get around to reading all the D2/DDNS stuff...


Neil.

On 2026-11-21 10:21, Darren Ankney wrote:
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