Setting up ddlcient
Setting up ddlcient
- Home
- Control Panel
- Community Forum
- Services
- Dynamic DNS Service
- Setting up ddlcient
- Community Forum
- Setting up ddlcient
Topic: Setting up ddlcient
So I have been fiddling with ddclient for the past couple of days trying to get it to work to no success. My goal is for my server to automatically update the ip of mysubdomain.dynu.org resolves to if the external ip address of my server changes due to my ISP giving my router a new address for whatever reason. Here are the errors I am currently recieving...Apr 17 15:05:50 raspberrypi ddclient[701]: WARNING: cannot connect to checkip.dynu.com:80 socket: IO::Socket::INET: Bad hostname 'checkip.dynu.com'Apr 17 15:20:50 raspberrypi ddclient[701]: FAILED: updating mysubdomain.dynu.org: badauth: Bad authorization (username or password)Apr 17 15:35:50 raspberrypi ddclient[701]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''Apr 17 15:35:51 raspberrypi ddclient[701]: FAILED: updating mysubdomain.dynu.org: badauth: Bad authorization (username or password)The actual hostname of my subdomain has been changed for security reasons. What can I do about not being able to connect to checkip.dynu.com over port 80?This forum really needs a search function.Here is my config file, I am currently trying to connect to mysubdomain using the username and password that I use to logon to this site. Is that the username and password that I should use to connect to the DNS server from my server? # Configuration file for ddclient generated by debconf## /etc/ddclient.confdaemon=30protocol=dyndns2use=web, web=checkip.dynu.com/ web-skip='IP Adress'server=api.dynu.comlogin=password=''mysubdomain.dynu.org(I edited out the username and password)
Reply with quote | Report
You can try the following workaround:Instead of using ddclient's built-in web client to connect to checkip.dynu.com, call a shell script that uses curl to make the network call. You may replace this line in the /etc/ddclient.conf configuration file:use=web, web=checkip.dynu.com/ web-skip='IP Adress'with the following to use a checkip.sh shell script stored in the location /user/bin/checkip.sh:use=cmd, cmd=/user/bin/checkip.sh, cmd-skip='IP Address' # found after IP AddressThe script could be something like this:#Your notecurl http://checkip.dynu.com/
Reply with quote | Report
I have a similar problem. I am just setting the internal IP address to access through dynu domain name. I have a problem with the server in ddclient "api.dynu.com" appears to be wrong.ddclient config file is the following:# Configuration file for ddclient generated by debconf## /etc/ddclient.confdaemon=60syslog=yespid=/var/run/ddclient.piduse=if, if=eth0ssl=yesserver=api.dynu.comprotocol=dyndns2login=carlosanchezpassword='pass'name.dynu.netthe error triggered by the verbose option in ddclient is the next:WARNING: cannot connect to api.dynu.com:443 socket: Name or service not known IO::Socket::IP configuration failedFAILED: updating name.dynu.net: Could not connect to api.dynu.com.Do you know which could be the issue?Thank you
Reply with quote | Report
carlosanchez wrote:I have a similar problem. I am just setting the internal IP address to access through dynu domain name. I have a problem with the server in ddclient "api.dynu.com" appears to be wrong.ddclient config file is the following:# Configuration file for ddclient generated by debconf## /etc/ddclient.confdaemon=60syslog=yespid=/var/run/ddclient.piduse=if, if=eth0ssl=yesserver=api.dynu.comprotocol=dyndns2login=carlosanchezpassword='pass'name.dynu.netthe error triggered by the verbose option in ddclient is the next:WARNING: cannot connect to api.dynu.com:443 socket: Name or service not known IO::Socket::IP configuration failedFAILED: updating name.dynu.net: Could not connect to api.dynu.com.Do you know which could be the issue?Thank you
Reply with quote | Report
Author | Topic: Setting up ddlcient |
---|---|
jsikarin Joined: 4/16/2017 |
Setting up ddlcient Monday, April 17, 2017 2:00 PM
So I have been fiddling with ddclient for the past couple of days trying to get it to work to no success. My goal is for my server to automatically update the ip of mysubdomain.dynu.org resolves to if the external ip address of my server changes due to my ISP giving my router a new address for whatever reason. Here are the errors I am currently recieving...Apr 17 15:05:50 raspberrypi ddclient[701]: WARNING: cannot connect to checkip.dynu.com:80 socket: IO::Socket::INET: Bad hostname 'checkip.dynu.com'Apr 17 15:20:50 raspberrypi ddclient[701]: FAILED: updating mysubdomain.dynu.org: badauth: Bad authorization (username or password)Apr 17 15:35:50 raspberrypi ddclient[701]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''Apr 17 15:35:51 raspberrypi ddclient[701]: FAILED: updating mysubdomain.dynu.org: badauth: Bad authorization (username or password)The actual hostname of my subdomain has been changed for security reasons. What can I do about not being able to connect to checkip.dynu.com over port 80?This forum really needs a search function.Here is my config file, I am currently trying to connect to mysubdomain using the username and password that I use to logon to this site. Is that the username and password that I should use to connect to the DNS server from my server? # Configuration file for ddclient generated by debconf## /etc/ddclient.confdaemon=30protocol=dyndns2use=web, web=checkip.dynu.com/ web-skip='IP Adress'server=api.dynu.comlogin=password=''mysubdomain.dynu.org(I edited out the username and password)
|
timothytw Joined: 5/2/2002 |
Setting up ddlcient Wednesday, April 19, 2017 10:17 AM
You can try the following workaround:Instead of using ddclient's built-in web client to connect to checkip.dynu.com, call a shell script that uses curl to make the network call. You may replace this line in the /etc/ddclient.conf configuration file:use=web, web=checkip.dynu.com/ web-skip='IP Adress'with the following to use a checkip.sh shell script stored in the location /user/bin/checkip.sh:use=cmd, cmd=/user/bin/checkip.sh, cmd-skip='IP Address' # found after IP AddressThe script could be something like this:#Your notecurl http://checkip.dynu.com/
|
carlosanchez Joined: 6/23/2017 |
Setting up ddlcient Sunday, July 9, 2017 12:13 PM
I have a similar problem. I am just setting the internal IP address to access through dynu domain name. I have a problem with the server in ddclient "api.dynu.com" appears to be wrong.ddclient config file is the following:# Configuration file for ddclient generated by debconf## /etc/ddclient.confdaemon=60syslog=yespid=/var/run/ddclient.piduse=if, if=eth0ssl=yesserver=api.dynu.comprotocol=dyndns2login=carlosanchezpassword='pass'name.dynu.netthe error triggered by the verbose option in ddclient is the next:WARNING: cannot connect to api.dynu.com:443 socket: Name or service not known IO::Socket::IP configuration failedFAILED: updating name.dynu.net: Could not connect to api.dynu.com.Do you know which could be the issue?Thank you
|
timothytw Joined: 5/2/2002 |
Setting up ddlcient Monday, July 10, 2017 8:45 AM
|
It is currently Tuesday, October 8, 2024 5:33 PM US Mountain Standard Time
Tuesday, October 8, 2024 5:33 PM