if [ -n "$MYIP" -a "$GETLOGIP" != "$MYIP" ]; then
if wget -qT 20 [INSERT WGET SYNTAX RELEVANT TO YOUR DDNS SERVICE HERE] > /dev/null 2>&1 ; then
echo $MYIP > $LOGFILE
logger myddns.sh: IP updated to $MYIP
You can easily find on the internet the relevant wget or curl syntaxes for your DDNS service. If you can install curl you can also have SSL support.
I used dnsomatic for the external IP check, but you can use any other IP check service, you can see by the code that it doesn't matter what the site spurts out besides the IP, the code just compares if the reply it get is different from the last logged one.
You can add multiple services if that's your thing too, and not be limited just to one as you are with the WebGUI.
You need a basic knowledge of bash and cron to do this, so, if you are not familiar with those I'm not going to do any sort of hand-holding, you are on your own, this script is provided AS IS.
Sayonara to Inadyn
Last edited by Specimen on Wed Jul 15, 2015 14:10; edited 1 time in total
That would be great, but even if they don't update it they should look at this zombie process bug.
Using this script, however, is much more resource friendly, inadyn runs as a background process, although it checks only every 10 minutes, this is just a script that runs at a given frequency (10 minutes, for instance).