Feature Request: DHCP-Client On Lease Script...

I know we can run a script on the server side, but it would be great if we could specify an on-lease script for a DHCP-Client. This would be really helpful for Dynamic DNS so I can trigger the update script when my client actually acquires a lease from my ISP instead of scheduling it to run every N minutes.

-Eric

In general, it would be nice that more events get an on-event hook for launching scripts…

+1 for dhcp-client on lease script.

+1!

Normis or Other MikroTik Employees: Any thoughts?

Wow, of course +1!

+1 too.

+1

Sorry to bump an old topic, but this would save a bunch of unnecessary script/scheduler logic in my routers.

But ros has this feature :slight_smile:

No it doesn’t. It has a feature on the dhcp server to run a script when it hands out a lease, but not on the dhcp client side.

+1!

+1 nice feature to run updater for dynamic ips

That would be nice if whatever action or state change could trigger a script. Not only receiving ip but generally whatever.

yes this would be very helpful

+1 THIS WOULD HELP ALOT

+1 Need this feature to specify routing mark for dynamic routes