home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.63k stars 30.78k forks source link

IPv6 not updating #129555

Open Switch123456789 opened 1 week ago

Switch123456789 commented 1 week ago

The problem

IPv4 gets updated just fine, however IPv6 remains unchanged despite homeassistant having a working IPv6 connection.

What version of Home Assistant Core has the issue?

core-2024.10.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

no_ip

Link to integration documentation on our website

https://www.home-assistant.io/integrations/no_ip

Diagnostics information

DEBUG (MainThread) [homeassistant.components.no_ip] Updating NO-IP success: my.domain.name

Example YAML snippet

no_ip:
  domain: "my.domain.name"
  username: "myname"
  password: "mypassword"
  timeout: 60
home-assistant[bot] commented 1 week ago

no_ip documentation no_ip source

Switch123456789 commented 5 days ago

I checked the code and it seems like the integration doesn't send the IP and rather relies on No-IP's Webserver to gather the IP from the HTTP-request. In return the IP-version that gets updated is the one that the integration gets from the set DNS-server. It seems like this is IPv4 by default. I wonder what happens if I disable IPv4 in Home Assistant, unfortunately I can't do that safely atm.