Hello All,
I have copied a script from this forum that will update my dns when a new dhcp lease is granted. I have copied that script into the “Scripts List” window in winbox. BUT, I am now stuck as to how to get it to run automatically based on an event from the dhcp server.
Can anyone point me in the right direction?
Thanks
Stuart
On the DHCP server’s settings dialog, you need to run the script in the “Lease Script” box.
e.g.
/system script run "myScriptName"
which script? what is your config? (-> /export hide-sensitive compact)
thankyou sid5362, that did it.
Cheers
Stuart