I’ve encountered an issue related to IPv6 address changes when my ISP updates the assigned address. It seems that when the ISP updates the IPv6 address, the router correctly sets the old IPv6 address’s preferred lifetime to 0, effectively making it unusable. Simultaneously, the router issues a new IPv6 prefix, allowing Home Assistant OS to obtain a new IP address.
However, during this transition, both the old and new IPv6 addresses coexist on the network adapter. Despite the old address having a preferred lifetime of 0 and being non-functional, the Duck DNS plugin continues to use the outdated address when checking for updates, causing a delay in updating the DNS records promptly.
I would appreciate any insights or solutions from the community on how to ensure that the Duck DNS plugin correctly identifies and uses the most up-to-date IPv6 address after an ISP-initiated change.
Duckdns Config
domains:
- xxx.duckdns.org
token: xxx
aliases: []
lets_encrypt:
accept_terms: true
algo: secp384r1
certfile: fullchain.pem
keyfile: privkey.pem
seconds: 300
ipv4: none
ipv6: default
Logs
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
# INFO: Using main config file /data/workdir/config
+ Account already registered!
[10:16:52] INFO: OK
2408:8340:c41:c0d0:acd9:f829:5448:400d
NOCHANGE
[10:16:53] INFO: Renew certificate for domains:xxx.duckdns.org and aliases:
# INFO: Using main config file /data/workdir/config
Processing xxx.duckdns.org
+ Checking domain name(s) of existing cert... unchanged.
+ Checking expire date of existing cert...
+ Valid till Mar 13 03:03:41 2024 GMT (Longer than 30 days). Skipping renew!
[10:21:57] INFO: OK
2408:8340:c41:c0d0:acd9:f829:5448:400d
NOCHANGE
[10:26:59] INFO: OK
2408:8340:c41:c0d0:acd9:f829:5448:400d
NOCHANGE
[10:32:01] INFO: OK
2408:8340:c41:c0d0:acd9:f829:5448:400d
NOCHANGE
[10:37:03] INFO: OK
2408:8340:c41:c0d0:acd9:f829:5448:400d
NOCHANGE
Network Info
Thank you for your assistance!