diff --git a/dim/dim/rpc.py b/dim/dim/rpc.py index beb5244..3617c73 100644 --- a/dim/dim/rpc.py +++ b/dim/dim/rpc.py @@ -2182,8 +2182,8 @@ def registrar_account_update_zones(self, name): _update_registrar_keys(zone) @updating - def rr_create(self, zone=None, views=None, ttl=None, comment=None, profile=False, allow_overlap=False, **kwargs): - if 'property_value' in kwargs and isinstance(kwargs['property_value'], str): + def rr_create(self, zone=None, views=None, ttl=None, comment=None, profile=False, allow_overlap=False, **kwargs): + if 'property_value' in kwargs and isinstance(kwargs['property_value'], str) and kwargs['type'] == 'CAA': kwargs['property_value'] = kwargs['property_value'].lower() self._rr_create(zone=zone, views=views, ttl=ttl, comment=comment, profile=profile, allow_overlap=allow_overlap, **kwargs)