Setting up ddlcient
Setting up ddlcient
- Casa
- Pannello di controllo
- Forum della Comunità
- Services
- Dynamic DNS Service
- Setting up ddlcient
- Forum della Comunità
- Setting up ddlcient
Argomento: 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)
Rispondi con citazione | Segnalare
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/
Rispondi con citazione | Segnalare
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
Rispondi con citazione | Segnalare
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
Rispondi con citazione | Segnalare
Autore | Argomento: Setting up ddlcient |
---|---|
jsikarin Iscritto: 16/04/2017 |
Setting up ddlcient lunedì 17 aprile 2017 14:00
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 Iscritto: 02/05/2002 |
Setting up ddlcient mercoledì 19 aprile 2017 10:17
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 Iscritto: 23/06/2017 |
Setting up ddlcient domenica 9 luglio 2017 12:13
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 Iscritto: 02/05/2002 |
Setting up ddlcient lunedì 10 luglio 2017 08:45
|
Al momento è sabato 23 novembre 2024 09:13 US Mountain Standard Time
sabato 23 novembre 2024 09:13