summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-12-11 18:02:02 -0400
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-12-26 15:22:55 -0600
commit975ce1c71352e319abef59e9e63de2c3fca2f281 (patch)
treebefb3e0779f9acfc5529d06720634e6019e0b9d1 /tests/data
parentac8295ba27448eb19936f171c2c63ea7a85ab405 (diff)
downloadvyos-1x-975ce1c71352e319abef59e9e63de2c3fca2f281.tar.gz
vyos-1x-975ce1c71352e319abef59e9e63de2c3fca2f281.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 'tests/data')
0 files changed, 0 insertions, 0 deletions