dhcp-ddns deprecated parameters in CB are not merged into running config
the dhcp-ddns parameters are not moved in the case of CB. SrvConfig::mergeGlobals or SrvConfig::mergeGlobalMaps are missing a call to moveDdnsParams, so if they were configured...they were never applied.
if not merging #2958 (closed), this ticket which fixes this issue should be merged instead
for data migration:
for mysql:
SET @disable_audit = 1;
update dhcp4_global_parameter set name='ddns-override-no-update' where name='dhcp-ddns.override-no-update';
update dhcp4_global_parameter set name='ddns-override-client-update' where name='dhcp-ddns.override-client-update';
update dhcp4_global_parameter set name='ddns-replace-client-name' where name='dhcp-ddns.replace-client-name';
update dhcp4_global_parameter set name='ddns-generated-prefix' where name='dhcp-ddns.generated-prefix';
update dhcp4_global_parameter set name='ddns-qualifying-suffix' where name='dhcp-ddns.qualifying-suffix';
update dhcp4_global_parameter set name='hostname-char-set' where name='dhcp-ddns.hostname-char-set';
update dhcp4_global_parameter set name='hostname-char-replacement' where name='dhcp-ddns.hostname-char-replacement';
update dhcp6_global_parameter set name='ddns-override-no-update' where name='dhcp-ddns.override-no-update';
update dhcp6_global_parameter set name='ddns-override-client-update' where name='dhcp-ddns.override-client-update';
update dhcp6_global_parameter set name='ddns-replace-client-name' where name='dhcp-ddns.replace-client-name';
update dhcp6_global_parameter set name='ddns-generated-prefix' where name='dhcp-ddns.generated-prefix';
update dhcp6_global_parameter set name='ddns-qualifying-suffix' where name='dhcp-ddns.qualifying-suffix';
update dhcp6_global_parameter set name='hostname-char-set' where name='dhcp-ddns.hostname-char-set';
update dhcp6_global_parameter set name='hostname-char-replacement' where name='dhcp-ddns.hostname-char-replacement';
SET @disable_audit = 0;
for pgsql:
SELECT set_config('kea.disable_audit', 'true', false);
update dhcp4_global_parameter set name='ddns-override-no-update' where name='dhcp-ddns.override-no-update';
update dhcp4_global_parameter set name='ddns-override-client-update' where name='dhcp-ddns.override-client-update';
update dhcp4_global_parameter set name='ddns-replace-client-name' where name='dhcp-ddns.replace-client-name';
update dhcp4_global_parameter set name='ddns-generated-prefix' where name='dhcp-ddns.generated-prefix';
update dhcp4_global_parameter set name='ddns-qualifying-suffix' where name='dhcp-ddns.qualifying-suffix';
update dhcp4_global_parameter set name='hostname-char-set' where name='dhcp-ddns.hostname-char-set';
update dhcp4_global_parameter set name='hostname-char-replacement' where name='dhcp-ddns.hostname-char-replacement';
update dhcp6_global_parameter set name='ddns-override-no-update' where name='dhcp-ddns.override-no-update';
update dhcp6_global_parameter set name='ddns-override-client-update' where name='dhcp-ddns.override-client-update';
update dhcp6_global_parameter set name='ddns-replace-client-name' where name='dhcp-ddns.replace-client-name';
update dhcp6_global_parameter set name='ddns-generated-prefix' where name='dhcp-ddns.generated-prefix';
update dhcp6_global_parameter set name='ddns-qualifying-suffix' where name='dhcp-ddns.qualifying-suffix';
update dhcp6_global_parameter set name='hostname-char-set' where name='dhcp-ddns.hostname-char-set';
update dhcp6_global_parameter set name='hostname-char-replacement' where name='dhcp-ddns.hostname-char-replacement';
SELECT set_config('kea.disable_audit', 'false', false);
Edited by Razvan Becheriu