What's new
  • 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!

OpenDNS IP update

Given that I have zero personal experience of DDNS :rolleyes:...

So at 10 minutes, is this going to check the IP every 10 minutes ?
The script will run every 10 minutes.

is the hostname as you have put it here or is it the actual web address of dnsomatic (https://dnsomatic.com)
There's some documentation here that says:
hostname

Hostname you wish to update. To update all services registered with DNS-O-Matic to the new IP address, hostname may be omitted or set to all.dnsomatic.com (useful if required by client). This field is also used for services that use different names for the unique identifier of the target being updated (ex. freedns.afraid.org, TZO). DNS-O-Matic will format the update string appropriately for each supported service at distribution.
So "all.dnsomatic.com" appears to be correct.
 
If you want it to start right away just type
/jffs/scripts/init-start start otherwise just wait until you reboot.
hi,
I think I have got it all done, had a few problems with pasting, kept missing bits off but got there in the end :)
I have run it and no errors have come up but is there a way to check if its working without waiting for my IP to change ?
Also just the questions about the time, is the time you set how often it checks (so yours will check the IP every 10 minutes) ?
Lastly about the host name , is that how you set it or is it the full web address (https://dnsomatic.com) ?
Thank you, it was pretty straight forward to set up, so long as I’ve done it correctly, lol
The other thing I did after making the files executable was to change the permissions to 755 from 777 is that ok , only it’s a bit more secure ?
Thank you again for all your help :)
 
Given that I have zero personal experience of DDNS :rolleyes:...


The script will run every 10 minutes.


There's some documentation here that says:So "all.dnsomatic.com" appears to be correct.
That’s great, thank you, I don’t think I need every 10 minutes but since I’m not to sure I have set it to 50 minutes for now, I doubt the script will use much resources?
Thanks again :)
It’s been good fun learning some of Linux and testing my mind, mostly thanks to you guys and this forum, I will have to keep trying new things :)
 
Ok, well it seems to be working, looking at the history on my dnsomatic web page it is checking, although my IP hasn’t changed so obviously it hasn’t updated anything.
One odd thing seems to be the time that it’s doing it.
I set it to 50 minutes in the script but on the dnsomatic history it is checking on the hour and then also 50 minutes, so I am seeing, 4.50pm 5.00pm 5.50pm 6.00pm and so on !
Does anyone know why ?
Does dnsomatic run every hour anyway ?
Thank you :confused::confused:

BTW excellent scripts, thank you Swistheater for listing them here for me :):):)
 
did you set up the wan-start script as well.... maybe it is having a blurp where it is also running wan-start idk though I am not experiencing this. some people have IP's that change quite frequently and some people have IP's that take a while to change, but it will work as long as it is logging your replies and you leave the thumbs marking the open DDNS configuration as active on dnsomatic's website . the cool thing is with this set up if you ever decide to add another DDNS service via a script or some other means, as long as it is supported by dnsomatic you can always add it and mark it active. by having the script say update all-- it will up date all your actively marked accounts.
 
Last edited:
Hi
did you set up the wan-start script as well.... maybe it is having a blurp where it is also running wan-start idk though I am not experiencing this.
, yes, I added the info you gave to the wan-start.
Wan-start was the only file of the 3 that already existed so I just added it to the end minus the bash.
The other 2 scripts had to be made.
They will work ok with 755 permissions on all 3 scripts ?

EDIT: this is my wan-start :

!/bin/sh

# DO NOT EDIT this part of the file #
# generated by AB-Solution 3.11
psState=on
if [ $psState == "on" ];then
ifconfig br0:pixelserv 192.168.1.2 up
logger "AB-Solution created br0:pixelserv 192.168.1.2 via $0"
fi
# end of DO NOT EDIT #

sleep 5

/jffs/scripts/dnsomatic.sh start
 
lol that looks exactly like mine too yea you should be good to go
 
I think it is just doing that b/c you marked yours to be at 50 minute intervals which is fine. because it is just doing an extra ping. so think of it as a fail safe.
 
check and make sure your asuscomm.com ddns is working too
 
yes the 60 is for that as a fail safe if it doesn't go through within an hour
 
yes the 60 is for that as a fail safe if it doesn't go through within an hour
Oh right, so it will update on the hour as well as anything I put in as a time ?
Thanks,

BTW: I just changed it to 30 minutes to see if it now updates every hour and half hour ?

Can the 60 be changed to say 180 or is this a set condition ?
 
you probably wont notice the hour one then b/c it will be in 30 minute intervals i don't notice it in 10 minute intervals
 
you probably wont notice the hour one then b/c it will be in 30 minute intervals i don't notice it in 10 minute intervals
That was my thinking on doing the 30 minutes :)
I likely only need it every 2 or 3 hours as a check but I guess it isn’t really using any resources?
 
yea it really isn't using much resources to run
 
You are welcome. I don't take full credit, I pulled a bunch of other ideas together to set this up. I've only had it running for a couple of weeks now.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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