Unable to use Duckdns Plugin with DS-Lite

Good evening everyone,

I need your help because I am not able to solve this problem by myself.

I am trying to make my HomeAssistant installation (core-2021.2.3) on a RPI accessible from outside using Duckdns plugin.

Unfortunately I have a DS-Lite connection and the IPv6 update does not update itself.
If I manually enter the IP in DuckDns, everything works and I can reach HA from outside.

With the DuckDNS plugin I have the following configuration:

lets_encrypt:
  accept_terms: true
  certfile: fullchain.pem
  keyfile: privkey.pem
  ipv6: 'https://api6.ipify.org'
token: A-B-C-D
domains:
  - domain.duckdns.org
aliases: []
seconds: 300

I don’t see any error in the logs and issuing the cert seems to work because, as stated before, after I manually edited the IP, I can access it.

I don’t get it why it does not update the IPv6.

Sorry for the “up” but I am not able to solve the problem by myself.

Couple of suggestions… Does the ISP not give you a static IPv6? Most give you either a /56 or a /64 static prefix? OR have you tried the script on the Duckdns site as a shell command? (Assuming you are running HA OS) that script will update your IPv6 address for you.

The FritzBox shows me the following:

The device, HASS-OS runs on is configured with the following values:

Bildschirmfoto 2021-03-08 um 21.39.11

I tried running the update from the shell:

The IPv6 is not updated. Using clear=true it is also deleted. Any ideas?

The address in your top screenshot is the WAN IPv6 address. The prefix (a/48) is added to the device address to get the IPv6 address of the device. If you share a port to that device eg 8123 it will show the full IPv6 address on the port sharing page. That is the address you would put in at duckdns. I assume the prefix is static? If it’s static you don’t need to be updating it

That /48 address (2001:4dd4:959) prefix is not static, it changes

Well that really sucks then. The DuckDNS client in the Fritz is only going to update the WAN address. There are shell scripts on the duckdns site you could use to update the IPv6 address for the device. I would try that…

I was not using the update “service” from the fritz box. I tried to use the DuckDNS Plugin in HassOS which in my opinion should update the device IPv6 or am I wrong?
I also tried the scripts on the shell console of the HA instance, without success.

I very much doubt the HA OS would update the IPv6 address. The scripts do work… the commands should work in the ssh addon? If they don’t work in the HA container maybe you can modify to use a different supported command? *I have done tha before as well)

Your config doesn’t look right.
You have ipv6 under the let’s encrypt section. Remove the spaces before it.

lets_encrypt:
  accept_terms: true
  certfile: fullchain.pem
  keyfile: privkey.pem
ipv6: 'https://api6.ipify.org'
token: A-B-C-D
domains:
  - domain.duckdns.org
aliases: []
seconds: 300