HomeVyOS Platform

ddclient: T5791: Fix migration to normalize config name and avoid config

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

ddclient: T5791: Fix migration to normalize config name and avoid config

Since service dns dynamic address <address> service <service> ...
changed to service dns dynamic name <service> address <address> ...,
the resulting service and address config flip can result in conflicting
service name.

Additionally, since dynamic DNS service name now have name constraint,
we need to normalize the service name to conform with the constraint.

We now migrate the service name to (service|rfc2136)-<service>-<address>
to avoid the conflict and optionally append an index if there is still a
name conflict after normalization.

Details

Provenance
indrajitrAuthored on Dec 11 2023, 10:02 PM
Parents
rVYOSONEXac8295ba2744: ddclient: T5791: Enforce alphanumeric constraint on service name
Branches
Loading...
Tags
Loading...