Now I want to operate the nextbox behind a router where I only have IPv6. Bat I did not get it to work. The problem is to gather the right IPv6-Address. I managed to get the local IPv6 address so I could reach the nextbox from within the LAN. I used the following ddclient.conf:
One of the reasons we droppen ddclient for the guided DNS configuration is the fact that ddclient has IPv6 support, but it’s not really great, mainly providing IPv4 and IPv6 seems not to be possible.
But as long as you would like to use only IPv6 the following line should be added in your IPv6 configuration to enable ddclient to get the correct IPv6 address for your internet connection:
this essentially calls cmd to determine your ipv6, you can easily try this out in any console. On top make sure you have dns-rebind adapted (and IPv6 mode inside your router) as explained in the docs: Managing Remote Access — Nitrokey Documentation
Thank you very much for the great support ! I ended up using the nextbox at another internet connection with a different ISP where I can use an IPv4 setup .
for anyone else out there with the same problem who finds this:
I think the problem might be the order of lines in ddclient.conf. I had the line
use=cmd, cmd=‘something.sh’
in there but it did not work, then from a logfile I noticed that something.sh was never called. I moved this line from the end of ddclient.conf up to the beginning of ddclient.conf, and now suddenly everything works nicely with IPv6.