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 ...
yachtman
Jul 13, 2009Aspirant
HereToday,
My mistake. Settings.json is used for Transmission (have too many config files in my head). The config file for DNS-O-Matic (which I think you already know) is:
#/c/addons-scripts/DnsOMatic/dnsomatic
Here is mine (unedited sections removed):
But make sure that the locations above are the actual locations for 'curl'. You can do a '#which curl' for it. I can't figure out why super-poussin's original code didn't work for me, but the mod made it goo.
My mistake. Settings.json is used for Transmission (have too many config files in my head). The config file for DNS-O-Matic (which I think you already know) is:
#/c/addons-scripts/DnsOMatic/dnsomatic
Here is mine (unedited sections removed):
titanium:/c/addons-scripts/DnsOMatic# cat dnsomatic
#!/bin/bash
HOSTNAME="all.dnsomatic.com"
USER="..."
PASS="..."
.....
#IP=$(`which curl` -s http://myip.dnsomatic.com/)
IP=$(/usr/local/bin/curl -s http://myip.dnsomatic.com/)
#IP=$(curl -s http://myip.dk/ | egrep -m1 -o '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}')
.....
RETURN=$(/usr/local/bin/curl -k -s https://${USER}:${PASS}@updates.dnsomatic.com/nic/update?hostname=${HOSTNAME}&myip=$IP&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG)
.....
But make sure that the locations above are the actual locations for 'curl'. You can do a '#which curl' for it. I can't figure out why super-poussin's original code didn't work for me, but the mod made it goo.
Related Content
NETGEAR Academy

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