Skip to content

Commit

Permalink
Missing 'dns_update_per_family' option
Browse files Browse the repository at this point in the history
This update fixes missing 'dns_update_per_family' option in python code
and config files.

Reviewed-by: Alexey Tikhonov <[email protected]>
(cherry picked from commit a822206)
  • Loading branch information
thalman authored and alexey-tikhonov committed Oct 23, 2024
1 parent 5e6fd2a commit 069b86f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config/SSSDConfig/sssdoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
2 changes: 2 additions & 0 deletions src/config/SSSDConfigTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions src/config/cfg_rules.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/config/etc/sssd.api.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 069b86f

Please sign in to comment.