Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - ddclient

Featured Replies

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).

  • Replies 89
  • Views 45k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • @ZooMass use=web, web=dynamicdns.park-your-domain.com/getip protocol=namecheap server=dynamicdns.park-your-domain.com login=yourdomain.com password=your dynamic dns password @,www  

  • Hello!   My ddclient docker is working and updates ip if it changes. My dynamic dns provider requires that i update my ip once in a week even if it has not changed to keep it active. I belie

  • Thanks for this! Been scouring the net for a good config file and yours is the first that's worked for me!

Posted Images

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 by Raf1888

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?

  • 2 weeks later...

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 !

  • 1 month later...

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!

  • 1 month later...

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

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.

  • 1 month later...

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 by TwistedCarnivore

  • 1 month later...

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 by God_TM

  • 2 years later...

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 by Ninoslav

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 😐.

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.

Looks like it won't be fixed anytime soon

  • 4 weeks later...

Same issue. If it's not going to be fixed, does anyone recommend a different DDNS updater container?

  • 2 weeks later...

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.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.