Community discussions

MikroTik App
 
janx
just joined
Topic Author
Posts: 2
Joined: Sat Mar 16, 2013 4:24 pm

Run custom script when ip address of the interface changes

Sat Mar 16, 2013 5:25 pm

Hi,
as in title, I 'd like to run my script (namely update dyndns) every time local address of my pppoe-out1 interface changes. Working solution would be to create a job which checks whether the IP has changed. However this is not optimal so I am looking for something better. Is there any system event where I could hook my script?

Cheers,
 
nmaton
Frequent Visitor
Frequent Visitor
Posts: 72
Joined: Fri Feb 18, 2011 12:31 am

Re: Run custom script when ip address of the interface chang

Sun Mar 17, 2013 6:59 pm

if you only want to update dyndns why don't put a sheduler for every 10 minutes ?
Dyndns wont see this as spamming .. anything below 10 minutes might be looked at as hammering.

Who is online

Users browsing this forum: No registered users and 4 guests