DDNS ipv6 picks the ULA address instead of the public

I don’t think you need to modify the script.

I suppose the right way is to use

option ip_source 'script'
option ip_script '/path/to/script.sh'

and implement the address detection logic in the custom script.

See https://openwrt.org/docs/guide-user/base-system/ddns

1 Like