What's new

Custom DDNS - how to recognize forced refresh?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Pila

Regular Contributor
When a router runs custom DDNS script under "Forced refresh interval (in days)" rule, how can said script differentiate that it is not a normal run but Forced refresh one?

Meaning: refresh external DDNS, no matter what you thing about it (refreshing it with the same data as before). Script by itself does the opposite: do not refresh external DDNS if there is no need for it. So, this is a special case I must handle.

There must be some counter or something script can check to recongize this situation.

Correct solution would be if a call to the script is made with additional parameter signifying forced refresh.
 
Apparantly, black hole :) My guess is that the call does not request forced explicitly.

If so, could it be added? Instead of
call ddns-script (wan_ip)
to be
call ddns-script (wan_ip forced)
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top