Thanks guys.
Here is my hook point and event.
---
# hook points and events
case "$1" in
lease4_renew|lease4_recover|lease4_decline)
# Do nothing
echo $1
exit 0
;;
leases4_committed)
echo $1
delete_re
Hi,
I am not a developer, but I do know (loosely) what events these refer to:
* lease4_recover (Kea has removed the lease from the lease database
(post expire or release) things like lease affinity affect when this
happens)
* lease4_release (client sent a DHCPRELEASE packet)
* lease4_decline (cli
Actually I have tested lease4_expire, leases4_committed and lease4_renew
already. They're easy to verify.
But the rest ones, I don't understand which scenarios can call them.
Thanks.
On Thu, Aug 8, 2024 at 3:52 PM luckydog xf wrote:
> Thanks for your reply.
> Actually, I have read that docs a
Thanks for your reply.
Actually, I have read that docs already. However, I'm still puzzled. I'm
going to add and remove DNS records against Samba with kea-dhcp hook
points, which is the same as DDNS.
Here is the skeleton of my bash script. Not sure if the action for each
hook point is right or no
luckydog xf writes:
> I'm running External Hook Scripts now. From
> https://kea.readthedocs.io/en/kea-2.6.0/arm/hooks.html there are the
> following hook points.
=> the right documentation for writing hooks is not the ARM but
the developer guide and its Hook Developer's Guide section
https://repo
Greetings, everyone,
I'm running External Hook Scripts now. From
https://kea.readthedocs.io/en/kea-2.6.0/arm/hooks.html there are the
following hook points.
---
The dhcpv4 hook points:
lease4_renew
lease4_expire
lease4_recover
leases4_committed
lease4_release
lease4_decline
According to several