I need help setting up Opendns, OpenDNS Dynamic IP updater client"ddclient"?
I having trouble setting up and configure OpenDns with Dynamic IP updater client 3rd party "ddclient"
Also included word doc the results of configuring the Dynamic IP updater client 3rd party "ddclient"
I did configure my wireless router modem all in one Dns IP 208.67.220.222 and 208.67.222.220.
I am new to Linux switch from Windows. Any information to help would be appreciated! Thanks!
OpenDNS Dynamic IP updater client Ddclient for Linux.doc
-
Here are the instructions: https://support.opendns.com/entries/23554765-Linux-IP-Updater-for-Dynamic-Networks
-
In addition to the above suggestions, please double check the server name, because I see this in the results:
FAILED: updating all.dnsomatic.com: authorization failed (HTTP/1.1 401 Unauthorized
The correct domain should be myip.dnsomatic.com. Please double check the config file running the following command:
sudo nano /etc/ddclient.conf
Then update the domain name and ensure that the username and password is correct with no special characters - only alphanumeric passwords are accepted. Also, note one of the comments in the URL rotblitz provided, to add apostrophe's before and after your password in the config file. This can be changed at https://dashboard.opendns.com/myaccount/password
Then restart the app:
sudo /etc/init.d/ddclient restart
We've received your support ticket and replied back with the same information, however feel free to reply back to this post with your results.
-
"The correct domain should be myip.dnsomatic.com."
Oops, I'm afraid this is a mistake. The domain/site myip.dnsomatic.com is for checking the IP address only, but all.dnsomatic.com is a pseudo-hostname to be used in updates to updates.dnsomatic.com.
updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com
-
How odd: I've received an e-mail saying there's another comment on this thread, but I go back here and it's not there. Anyway, the other comment suggests my previous comment was unclear. What I meant was, if I put an & in my password, I get the same 401 Unauthorized error that Anthony Honciano mentioned above. I have solved this by replacing the & with a *.
-
A current problem is the failure of OpenDns with ddclient. I have managed to solve the problem in a not very decent way. Something like that: sudo nano /var/cache/ddclient/ddclient.cache and add ip=0.0.0.0 at the end of the sequence of variables, just before your 'opendns_network_label' Apparently, it doesn't work because that data is empty.
approximate content of ddclient.cache would this be
## ddclient-3.9.0
## last updated at Mon Nov 4 02:44:29 2019 (1572846269)
atime=0,backupmx=0,custom=0,host=lavelme,ip=0.0.0.0,mtime=1572845979,mx=,script=/nic/update,static=0,status=good,warned-min-error-interval=0,warned-min-interval=0,wildcard=0,wtime=30 lavelmeI hope it helps you
-
Hello all!
In response to https://support.opendns.com/hc/en-us/community/posts/220035467/comments/360000138283:It didn't help for me.
My password is sixteen characters long, with small and capital letters and some numbers, as well as an asterisk at the end.Getting this:
FAILED: updating 'Home': authorization failed (HTTP/1.0 401 Unauthorized
FAILED: date: Sun, 29 Dec 2019 16:51:42 GMT
FAILED: server: opendns
FAILED: www-authenticate: Basic realm="RESTRICTED"
FAILED: content-length: 7
FAILED: content-type: text/html; charset=UTF-8
FAILED: x-xss-protection: 1; mode=block
FAILED: x-ingress-point: lon
FAILED: connection: close
FAILED:
FAILED: badauth)Running the ddclient on a CentOS 6-server
Not sure what else to try. Any advice?
-
Yupp, forgot that. Sorry.
I based the config on info from https://support.opendns.com/hc/en-us/articles/227987727-Linux-IP-Updater-for-Dynamic-Networks.
daemon=300
syslog=yes
mail-failure=root
pid=/var/run/ddclient/ddclient.pid
ssl=yes##
## OpenDNS.com account-configuration
##
protocol=dyndns2
use=web, web=myip.dnsomatic.com
ssl=yes
server=updates.opendns.com
login='my.email.address@someprovider.com'
password=‘longpasswordendingwithanasterisk’
Home -
Ok, thanks for checking!
Late yesterday evening, I did some digging, turns out my router, an oldish Asus RT-N56U with custom ROM installed, has a dDNS-feature.
On a hunch I entered the OpenDNS-credentials etc, chose www.dnsomatic.com as the service provider and hit apply - and what do you know, it worked!
The router itself is now updating the WAN-IP to OpenDNS. So far all is A-okay!Would have been nice to know though, just why it doesn't work for me using the ddclient...
Oh, well, I'll dig into that problem later, for now it works.Thanks all for the hints, tips and tricks!
-
The problem looks like one I finally solved after much, much trouble, no thanks to the useless VIP support.
The single quotes around the password field are not ASCII, and if you copy/paste the code, it will fail. Replacing the quotes with normal text quotes will fix it. I reported this error today, although my experience with support leads me to believe it will not accomplish anything.
Please sign in to leave a comment.
Comments
17 comments