Files
packages/net/ddns-scripts
Martin Brodbeck 55a465f358 ddns-scripts: fix updating IPv6 for netcup
Fix the netcup DDNS updater when comparing an existing
IPv6 record to the current address.

The previous logic relied on REGISTERED_IP and required it
to be set, but that value is not always available or reliable for
IPv6 records. As a result, the updater could wrongly skip or
fail to update AAAA entries.

This change:

-     Removes the hard dependency on REGISTERED_IP
-     Compares record type and hostname before evaluating the IP
-     Normalizes IPv6 addresses before comparison
-     Exits early when no update is required

Fixes #30387

Signed-off-by: Martin Brodbeck <martin@brodbeck-online.de>
2026-09-25 08:18:06 +02:00
..