From a822206c7859b5f39af2b2ea1b117850a0589e3c Mon Sep 17 00:00:00 2001 From: Tomas Halman Date: Mon, 21 Oct 2024 16:31:38 +0200 Subject: [PATCH] Missing 'dns_update_per_family' option This update fixes missing 'dns_update_per_family' option in python code and config files. Reviewed-by: Alexey Tikhonov --- src/config/SSSDConfig/sssdoptions.py | 2 ++ src/config/SSSDConfigTest.py | 2 ++ src/config/cfg_rules.ini | 1 + src/config/etc/sssd.api.conf | 1 + 4 files changed, 6 insertions(+) diff --git a/src/config/SSSDConfig/sssdoptions.py b/src/config/SSSDConfig/sssdoptions.py index e7de867..3aba87a 100644 --- a/src/config/SSSDConfig/sssdoptions.py +++ b/src/config/SSSDConfig/sssdoptions.py @@ -198,6 +198,8 @@ class SSSDOptions(object): 'refresh_expired_interval': _('How often should expired entries be refreshed in background'), 'refresh_expired_interval_offset': _("Maximum period deviation when refreshing expired entries in background"), 'dyndns_update': _("Whether to automatically update the client's DNS entry"), + 'dyndns_update_per_family': _('Whether DNS update of A and AAAA record should be performed ' + 'in one update or in two separate updates'), 'dyndns_ttl': _("The TTL to apply to the client's DNS entry after updating it"), 'dyndns_iface': _("The interface whose IP should be used for dynamic DNS updates"), 'dyndns_refresh_interval': _("How often to periodically update the client's DNS entry"), diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py index e08109a..21a08c8 100755 --- a/src/config/SSSDConfigTest.py +++ b/src/config/SSSDConfigTest.py @@ -580,6 +580,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): 'dns_resolver_timeout', 'dns_discovery_domain', 'dyndns_update', + 'dyndns_update_per_family', 'dyndns_ttl', 'dyndns_iface', 'dyndns_refresh_interval', @@ -940,6 +941,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): 'dns_resolver_timeout', 'dns_discovery_domain', 'dyndns_update', + 'dyndns_update_per_family', 'dyndns_ttl', 'dyndns_iface', 'dyndns_refresh_interval', diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini index 39b66ba..0a630f1 100644 --- a/src/config/cfg_rules.ini +++ b/src/config/cfg_rules.ini @@ -442,6 +442,7 @@ option = refresh_expired_interval_offset # Dynamic DNS updates option = dyndns_update +option = dyndns_update_per_family option = dyndns_ttl option = dyndns_iface option = dyndns_refresh_interval diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index 67b7a5f..5930f4a 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -208,6 +208,7 @@ refresh_expired_interval_offset = int, None, false # Dynamic DNS updates dyndns_update = bool, None, false +dyndns_update_per_family = bool, None, false dyndns_ttl = int, None, false dyndns_iface = str, None, false dyndns_refresh_interval = int, None, false -- 2.33.0