diff --git a/src/config/SSSDConfig/sssdoptions.py b/src/config/SSSDConfig/sssdoptions.py index 22c6068e8c..3e27e1839d 100644 --- a/src/config/SSSDConfig/sssdoptions.py +++ b/src/config/SSSDConfig/sssdoptions.py @@ -200,6 +200,8 @@ def __init__(self): '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 f333c35eb3..f65794cc4d 100755 --- a/src/config/SSSDConfigTest.py +++ b/src/config/SSSDConfigTest.py @@ -581,6 +581,7 @@ def testListOptions(self): 'dns_discovery_domain', 'failover_primary_timeout', 'dyndns_update', + 'dyndns_update_per_family', 'dyndns_ttl', 'dyndns_iface', 'dyndns_refresh_interval', @@ -942,6 +943,7 @@ def testRemoveProvider(self): 'dns_discovery_domain', 'failover_primary_timeout', '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 22c269c774..d2e422b52d 100644 --- a/src/config/cfg_rules.ini +++ b/src/config/cfg_rules.ini @@ -444,6 +444,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 31787c23c5..187401f534 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -209,6 +209,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