NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bnichols
Apr 25, 2009Guide
DNS-O-Matic add-on
Am just trying Super Poussin's new DNS-O-Matic add-on. Installed, disabled, modified the dnsomatic file and restarted the service. There doesn't seem to be a way to confirm that it's working. If I log into my account on the dnsomatic website, it just sits there saying "Waiting for first update" for both my dyndns and opendns account. Any way to confirm its proper installation and usage?
Thanks!
PS I forgot to mention I installed the 1.1 version that was updated a few hours ago (from 1.0 early this morning).
Thanks!
PS I forgot to mention I installed the 1.1 version that was updated a few hours ago (from 1.0 early this morning).
103 Replies
Replies have been turned off for this discussion
- rmallon1AspirantHi there,
I am hoping someone can help me out here.
I've installed DNS-O-Matic (sparc) on my ReadyNAS Duo, rebooted, and have opened the config script found in '\\ipaddress\c\addons-scripts\DnsOMatic'.
Instructions say to "put your username/password in it", but I am not sure exactly what fields to enter my DNS-O-Matic credentials.
The first line of the default script is:
#!/bin/bash
HOSTNAME="all.dnsomatic.com"
USER=xxxxxx
PASS=password
So this seems like the logical place to enter my user name and pass.
ie:
#!/bin/bash
HOSTNAME="all.dnsomatic.com"
USER=my user ID
PASS= my passowrd
I save config, restart the service and patiently refresh the DNS-O-Matic homepage, but it never registers... what is going wrong?
Am I saving my user credentials in thew wrong place?
Thanks in advance!
Kind regards,
Robert - NASCHARGEAspirantCan someone please correct me if im wrong,
When DNS-O-Matic is running it checks the current ip every 5min and compares it to the cached ip in /tmp/oldip.DNS-O-Matic.
If it is different it then updates the ip.
I was wanting to update the ip once every day or be able to change how often it updates, and force the update even if the ip is the same. I cant see anywhere to do this....
What I have done is create a cron job to change the cached ip once a day. this seems to work, I was just wondering if there was another way? - sphardy1Apprentice
NASCHARGE wrote: Can someone please correct me if im wrong,
When DNS-O-Matic is running it checks the current ip every 5min and compares it to the cached ip in /tmp/oldip.DNS-O-Matic.
If it is different it then updates the ip.
I was wanting to update the ip once every day or be able to change how often it updates, and force the update even if the ip is the same. I cant see anywhere to do this....
What I have done is create a cron job to change the cached ip once a day. this seems to work, I was just wondering if there was another way?
This makes very little sense...
- updating once per day gives the potential for your web address to be unavailable for up to 1 day
- probing the current ip address adds next to no additional loading to your NAS so why the need to change?
- updating when the address has not changed doesn't achieve anything
So what problem are you actually trying to solve? - NASCHARGEAspirantSorry maybe I didn't explain correct.
I still want to check to see if the ip has changed every 5min or if ip changes during the 24 hour period.
But assuming the ip hasn't changed in 1 day I still want to force a update so the DNS the site registers that there has been a update even when the ip hasn't changed. This will show up in the history on DNS-O-Matic site.
The reason I want to do this is I have a few accounts and it sometimes cancels account after x days of no updates. Its a bit of a pain to keep registering again and again.
Also I have written a program that gets the history of the updates and will alert me if it has been missed for a period of time. - sphardy1ApprenticeWell you appear to have a solution, though are you sure a non-changed IP address gets registered as a valid update?
The other option is to consider a different DNS provider. For example: I've used DynDNS extensively and when an IP address has not been updated in a month I get an email asking me if I want to keep the account - a single click on the link ensures the account is kept, which is hardly onerous. I have multiple addresses under the same account and have never had to reregister or had my account cancelled. - Dexter1759AspirantHi All,
I'd love to get DNS-O-Matic working. But my log keeps saying the following when it checks every 5mins....Tue Apr 19 20:25:01 GMT 2011 : Return message of DNS-O-Matic :
It's picked up my correct IP address and the cached IP address is blank.
Any help would be much appreciated.
Dex - swmoellerAspirant
Dexter1759 wrote: Hi All,
I'd love to get DNS-O-Matic working. But my log keeps saying the following when it checks every 5mins....Tue Apr 19 20:25:01 GMT 2011 : Return message of DNS-O-Matic :
It's picked up my correct IP address and the cached IP address is blank.
Any help would be much appreciated.
Dex
I share this problem and would appreciate some hints.
Setup:
ReadyNAS NVX, RAIDiator 4.2.19
DNS-O-Matic 1.5
I performed the following actions
Install add-on
Disable add-on
Terminal (I am on OSX Lion) and SSH to ReadyNAS
cd /c/addons-scripts/DnsOMatic/
vi dnsomatic
inserted my username and password inside ""
saved
sh /c/addons-scripts/DnsOMatic/dnsomatic <NO output or error, when executing the script.>
tail -f /var/log/DNS-O-Matic.log
(I am aware, that experts will have a much more elegant approach, but not me...)
LOG-file (extract)
Mon Oct 3 02:25:01 HKT 2011 : found: <my current IP with the ISP> cached IP:<empty>
Mon Oct 3 02:25:01 HKT 2011 : Return message of DNS-O-Matic :
Online, DNS-O-Matic website says "Waiting for first update"
As my current ISP-IP is different from the one recorded @ DnyDNS, something should actually happen (according to my understanding)
I also triedchmod ug+x dnsomatic
without any improvements.
Many thanks for your help!
Stefan - swmoellerAspirantNot sure, if it helps, but if I run
https://<username for dnsomatic>:<password for dnsomatic>@updates.dnsomatic.com/nic/update?hostname=<mydomain>.dyndnsXXX&myip=<current ISP-IP>&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG)
manually (copied from the script), it updates the IP as desired on dnydns.
It seems to be, that the script never reaches the point, where it accesses the dnsomatic-site to update the IP. Reason: When I enter wrong credentials (in the script) for the site, it does not complain.
Any help pointing me into the right direction is highly appreciated!
Stefan - swmoellerAspirantI now installed version 2.6 and found it working flawlessly!!
- ElectroNickAspirantI too seem to have come up against the same problem as many on this thread.
I have a ReadyNas Duo
I have done all steps suggested needed to get DNSoMatic working but dont seem to get any updates registered on the DNSoMatic website.
Reading this thread I have installed the EnableSSH add-on and managed to logon using Putty. (Little tentative about this as a real Linux/Unix newbie and not wanting to cause further damage.)
I have tried to run the dnsomatic script directly using 'sh' command but nothing seems to happen and get the error message unexpected end of file line 62:
Also I can't find the log file in /var/log or the tmpfile in /tmp.
It would appear that even though the add-on seems to be running it is not executing properly.
I think I've reached the limit of my knowledge.
Can anyone suggest anything
Cheers
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!