saarg Posted March 31, 2021 Share Posted March 31, 2021 On 3/29/2021 at 11:51 PM, Raf1888 said: Hi there ! I have several questions about how to use this docker image. First : AFAIK ddclient is not started when the docker container is turned up. A "ps -a" in a shell in the container does not show anything related to ddclient. Did I miss something ? Then : A "ddclient" command in the same shell seems to work fine as long as my ddclient.conf file is in /etc/ddclient. For this, I need to fix the default app template, replacing /config mount by /etc/ddclient. Is that normal ? Final : How to make ddclient being turned up when the container is revived ? Thanks for reading ! ddclient is running as long as the container is running and the config is copied to the correct place if it's edited. You have not supplied any usable info to be able to help you. Post the full logs and the docker run command (no template screenshots). Quote Link to comment
Raf1888 Posted April 1, 2021 Share Posted April 1, 2021 (edited) Hi saarg, Thx for your answer and for the help. So ddclient should be running "out of the box" with the default template configuration. Thus, I removed any modification I did, and this is what I get : Docker run command : root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='ddclient' --net='bridge' -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/appdata/ddclient':'/config':'rw' 'linuxserver/ddclient' And this is the docker log : [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 01-envfile: executing... [cont-init.d] 01-envfile: exited 0. [cont-init.d] 10-adduser: executing... ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io ------------------------------------- To support LSIO projects visit: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services Setting up watches. [services.d] done. Watches established. WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = '' WARNING: skipping update of ||Here's my private dyndns|| from <nothing> to ||My.Private.IP.Here|| WARNING: last updated <never> but last attempt on Thu Apr 1 12:08:43 2021 failed. WARNING: Wait at least 5 minutes between update attempts. The third last WARNING in this log obviously report the problem... Here's the ddclient.conf file, mounted in /config : daemon=300 syslog=yes pid=/var/run/ddclient/ddclient.pid protocol=dyndns2 ssl=yes use=web server=infomaniak.com login=|myprivateID| password=|myprivatepasswd| |myprivatedyndns| Do you need anything else ?🙂 Edited April 1, 2021 by Raf1888 Quote Link to comment
saarg Posted April 1, 2021 Share Posted April 1, 2021 9 hours ago, Raf1888 said: Hi saarg, Thx for your answer and for the help. So ddclient should be running "out of the box" with the default template configuration. Thus, I removed any modification I did, and this is what I get : Docker run command : root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='ddclient' --net='bridge' -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/appdata/ddclient':'/config':'rw' 'linuxserver/ddclient' And this is the docker log : [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 01-envfile: executing... [cont-init.d] 01-envfile: exited 0. [cont-init.d] 10-adduser: executing... ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io ------------------------------------- To support LSIO projects visit: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services Setting up watches. [services.d] done. Watches established. WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = '' WARNING: skipping update of ||Here's my private dyndns|| from <nothing> to ||My.Private.IP.Here|| WARNING: last updated <never> but last attempt on Thu Apr 1 12:08:43 2021 failed. WARNING: Wait at least 5 minutes between update attempts. The third last WARNING in this log obviously report the problem... Here's the ddclient.conf file, mounted in /config : daemon=300 syslog=yes pid=/var/run/ddclient/ddclient.pid protocol=dyndns2 ssl=yes use=web server=infomaniak.com login=|myprivateID| password=|myprivatepasswd| |myprivatedyndns| Do you need anything else ?🙂 Set the Daemon to at least 600, or else you will get banned from checkip. Is your dyndns provider supported by ddclient? Quote Link to comment
Raf1888 Posted April 10, 2021 Share Posted April 10, 2021 Hi there, Better answering late than never. I tried again the day after, and everything was working fine. @saarg : So u were right. I most likely had been temporary banned for setting a too low value for the daemon variable... Thx again ! Quote Link to comment
touz Posted May 26, 2021 Share Posted May 26, 2021 I don't see an Njalla template in the config file, though it's supposed to be supported according to the documentation. Has anyone been able to make it work with Njalla and would be kind enough to share their configs? Thanks! Quote Link to comment
gnpunk Posted July 22, 2021 Share Posted July 22, 2021 Hello everyone. I'm trying to get Dynamic DNS set up via ddclient, but I'm hitting a bit of a wall. I thought I had everything set up but the "Data" section in my Google Domains is not updating. Here is what I have in my config file: daemon=300 syslog=yes pid=/var/run/ddclient/ddclient.pid ssl=yes protocol=googledomains login=[generated login by GD] password=[generated pw by GD] my private server info Log file from Unraid is as follows: ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io ------------------------------------- To support LSIO projects visit: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 90-custom-folders: executing... [cont-init.d] 90-custom-folders: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services Setting up watches. [services.d] done. Watches established. WARNING: found neither ipv4 nor ipv6 address Quote Link to comment
saarg Posted July 22, 2021 Share Posted July 22, 2021 4 hours ago, gnpunk said: Hello everyone. I'm trying to get Dynamic DNS set up via ddclient, but I'm hitting a bit of a wall. I thought I had everything set up but the "Data" section in my Google Domains is not updating. Here is what I have in my config file: daemon=300 syslog=yes pid=/var/run/ddclient/ddclient.pid ssl=yes protocol=googledomains login=[generated login by GD] password=[generated pw by GD] my private server info Log file from Unraid is as follows: ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io ------------------------------------- To support LSIO projects visit: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 90-custom-folders: executing... [cont-init.d] 90-custom-folders: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services Setting up watches. [services.d] done. Watches established. WARNING: found neither ipv4 nor ipv6 address You have left out the part where you tell ddclient how to check for th IP. Check the default config file for the options. Quote Link to comment
TwistedCarnivore Posted September 1, 2021 Share Posted September 1, 2021 (edited) I have 2 servers in different locations on the same domain. Server 1 ## ddclient.conf daemon=600 syslog=yes #mail=root #mail-failure=root pid=/var/run/ddclient/ddclient.pid # record PID in file. ssl=yes use=web, web=checkip.dynu.com/, web-skip='IP Address' server=api.dynu.com protocol=dyndns2 login=user password=password domain.xyz That one works fine. Server 2 ## ddclient.conf daemon=600 syslog=yes #mail=root #mail-failure=root pid=/var/run/ddclient/ddclient.pid ssl=yes use=web, web=checkip.dynu.com/, web-skip='IP Address' server=api.dynu.com protocol=dyndns2 login=user password=password siteb.domain.xyz Every time it runs I get 2 message in the log. WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = '' FAILED: updating xxxxx.xxxxx.xyz: badauth: Bad authorization (username or password) I even copied the config from server 1 to server 2 and changed the domain to the correct one for the server and still get the errors. Both servers run the same version of unraid and the same version of ddclient. I removed the docker container and all configs and reinstalled it but get the same results. I am at loss as to what to check next. Any ideas would be helpful. Edited September 1, 2021 by TwistedCarnivore Quote Link to comment
God_TM Posted October 15, 2021 Share Posted October 15, 2021 (edited) How do I know if the container is working (I ported my config over from a Windows server so I figured the conf file would be similar). The domain is Google based. Is there a way to check the logs to see when the last attempt was made and if it was successful or not? Edited October 15, 2021 by God_TM Quote Link to comment
Ninoslav Posted October 29, 2023 Share Posted October 29, 2023 (edited) I have 2 unraid servers running ddclient, and I have the same error on both, turned on verbose WARNING: '' is not a valid IPv4 or IPv6 address WARNING: found neither IPv4 nor IPv6 address WARNING: unraid: unable to determine IP address with strategy use=ip WARNING: Could not determine an IP for unraid Both are set up to push IP to namecheap and both are behind Ubiquiti router. Have not made any changes recently and it was working for several months flawlessly. Edited October 29, 2023 by Ninoslav Quote Link to comment
ptirmal Posted October 31, 2023 Share Posted October 31, 2023 On 10/29/2023 at 2:09 PM, Ninoslav said: I have 2 unraid servers running ddclient, and I have the same error on both, turned on verbose WARNING: '' is not a valid IPv4 or IPv6 address WARNING: found neither IPv4 nor IPv6 address WARNING: unraid: unable to determine IP address with strategy use=ip WARNING: Could not determine an IP for unraid Both are set up to push IP to namecheap and both are behind Ubiquiti router. Have not made any changes recently and it was working for several months flawlessly. I have the same issue. I also noticed after my Fios went down for the first time in 5 years and I have a new IP and none of my services address was correctly updated 😐. Quote Link to comment
stryder Posted November 4, 2023 Share Posted November 4, 2023 On 10/31/2023 at 7:17 AM, ptirmal said: I have the same issue. I also noticed after my Fios went down for the first time in 5 years and I have a new IP and none of my services address was correctly updated 😐. Was there a fix required? Having the same issues. Quote Link to comment
Ninoslav Posted November 11, 2023 Share Posted November 11, 2023 Looks like it won't be fixed anytime soon Quote Link to comment
jedivoodoo Posted December 6, 2023 Share Posted December 6, 2023 Same issue. If it's not going to be fixed, does anyone recommend a different DDNS updater container? Quote Link to comment
gustomucho Posted December 20, 2023 Share Posted December 20, 2023 After encountering the same issue, I found a simple fix you guys can try. If you were previously using checkip.dyndns.org to check your IP (in ddclient config : web=checkip.dyndns.org), and you also had the setting SSL=yes, then this might also be the source of your errors. It seems the https of said website no longer seems to exist and thus cannot be used to check your IP. A simple fix is using cloudflare's trace function to check your IP if you want to keep SSL enabled. In ddclient config, simply change web=checkip.dyndns.org for web=cloudflare.com/cdn-cgi/trace Otherwise, you might try changing change SSL=yes for SSL=no and keep using dyndns.org, but I have not tried that. Let me know how it goes. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.