summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-12-11 18:02:02 -0400
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-12-15 12:19:23 -0600
commit2b96bc8532b61be96cea92cc1c5468bd5fc3d968 (patch)
tree9861d47df367875edb09a04318f6c64b1a10764f /schema
parentb0beb1cb732cdf950917f1eb419f66cc4f007f29 (diff)
downloadvyos-1x-2b96bc8532b61be96cea92cc1c5468bd5fc3d968.tar.gz
vyos-1x-2b96bc8532b61be96cea92cc1c5468bd5fc3d968.zip
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.
Diffstat (limited to 'schema')
0 files changed, 0 insertions, 0 deletions