Question to the #ipv6 bubble: I do not have a static prefix and my local server ...

@dreua@hachyderm.io

Question to the #ipv6 bubble:

I do not have a static prefix and my local server has multiple public IPv6 addresses, one with a static suffix for incoming connections and at least one random which I'd like to use for anything outgoing (privacy reasons).

Now I need a command to reliably get the dynamic_prefix:static_suffix address for purposes like setting the dyndns record. Is there a Linux command for this or any hints on how to deal with that kind of issue?

(I plan to use curl with --interface but those are multiple addresses on the same interface so I still need to get the address somehow I think.)