-
Hi everyone, I am trying to get my machine to make the DynDNS service of strato.com assign an IPv6 address (only) to it. I created a config:
The shell script does this: and it works as expected when executed:
But whether I use the shell script or paste the command directly in the checkip-command in the config, the result is the same:
And then the IPv4 address is assigned again instead of the IPv6 address. What am I doing wrong? I'd appreciate it if someone knows a solution to this. :) Thanks for reading! Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found some solution, I guess. BUT it still won't work with the docker container, only with a native instance. The command looks ok:
|
Beta Was this translation helpful? Give feedback.
I found some solution, I guess.
After trying so much other stuff for hours, I noticed that when executing the command directly without shell script it seemed to miss some characters in the inadyn output.
Seems like I should have added more escape characters like this:
checkip-command = "ip -6 addr list scope global $device | grep -v \" fd\" | sed -n 's/.*inet6 \\([0-9a-f:]\\+\\).*/\\1/p' | head -n 1"
BUT it still won't work with the docker container, only with a native instance. The command looks ok: