DHCP server lease-script

I’ve checked the wiki and searched the forum, but I can’t find any documentation on the new “lease-script” option included in v6.

Does anyone know when it gets executed? Before or after new leases? expires? renewals?
What variables are available?
Can we modify the lease before it is assigned to the client? (for option 82 or custom options)

Thanks,
Gerard

Yes, please give us some info!)
any variables (current lease, options, etc..)

just saw this ‘feature’, and no info on it for months. MT, please comment a bit :slight_smile:

Variables that can be used there:

leaseBound
leaseServerName
leaseActMAC
leaseActIP

Hello,
I would like to ask if they are available yet other variables than those listed?
I would like to run a script that when you connect the host to send me some more information, for example, as it is called host (for example: android-xxx-xxx iPhone).
Currently receives information about the IP address and MAC address.

can’t you simply search for necessary info in Leases table?