K0p1-Git / cloudflare-ddns-updater

Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP! Written in pure BASH~
MIT License
1.39k stars 388 forks source link

Unable to establish a valid IPv6 connection to a known host. #81

Closed Zeroth42 closed 4 months ago

Zeroth42 commented 6 months ago

DDNS Updater_v6: Unable to establish a valid IPv6 connection to a known host.

But I know I have a valid IPv6 adress, but it doesnt work :(

Screenshot 2024-04-18 212150 Screenshot 2024-04-18 214755

I changed the static IPv6 to false, but it doesnt change anything

I am on Ubunutu 22.04 on a LXC Server

xingjieng commented 6 months ago

@Zeroth42 Hi there, by looking at your screenshot output of ip address.

You seem to only have link-local IPv6 address, and GUA IPv6 is missing. Are you sure that you have a routable GUA IPv6 address?

Try to do a ping -6 ipv6.google.com and see if you can ping google by IPv6 or not.

Ohh, and btw static_IPv6_mode is only used when you're using static IPv6 assignment, SLAAC + privacy extensions etc.

If your device is getting IPv6 address from a DHCPv6 server, (which means your device only have ONE routable GUA IPv6 address), you can set static_IPv6_mode to "false"