octodns-cloudns 0.0.9__tar.gz → 0.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/PKG-INFO +1 -1
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/octodns_cloudns/__init__.py +9 -2
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/octodns_cloudns.egg-info/PKG-INFO +1 -1
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/LICENSE +0 -0
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/README.md +0 -0
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/octodns_cloudns.egg-info/SOURCES.txt +0 -0
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/octodns_cloudns.egg-info/dependency_links.txt +0 -0
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/octodns_cloudns.egg-info/requires.txt +0 -0
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/octodns_cloudns.egg-info/top_level.txt +0 -0
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/setup.cfg +0 -0
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/setup.py +0 -0
- {octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/tests/test_octodns_cloudns_provider.py +0 -0
|
@@ -8,7 +8,7 @@ from octodns.record import Record
|
|
|
8
8
|
logging.basicConfig(level=logging.DEBUG)
|
|
9
9
|
logger = logging.getLogger(__name__)
|
|
10
10
|
|
|
11
|
-
__version__ = __VERSION__ = '0.0.
|
|
11
|
+
__version__ = __VERSION__ = '0.0.10'
|
|
12
12
|
|
|
13
13
|
class ClouDNSClientException(ProviderException):
|
|
14
14
|
pass
|
|
@@ -118,7 +118,7 @@ class ClouDNSClient(object):
|
|
|
118
118
|
|
|
119
119
|
single_types = ['CNAME', 'A', 'AAAA', 'DNAME', 'ALIAS', 'NS', 'PTR', 'SPF', 'TXT']
|
|
120
120
|
if rrset_type in single_types:
|
|
121
|
-
params += '&record={}'.format(rrset_values[0].replace('\;', ';').replace('+', '%2B'))
|
|
121
|
+
params += '&record={}'.format(rrset_values[0].replace(r'\;', ';').replace('+', '%2B'))
|
|
122
122
|
|
|
123
123
|
if(geodns is True):
|
|
124
124
|
for location in rrset_locations:
|
|
@@ -628,6 +628,13 @@ class ClouDNSProvider(BaseProvider):
|
|
|
628
628
|
and value.precision_vert == record['v_precision']
|
|
629
629
|
):
|
|
630
630
|
record_ids.append(record_id)
|
|
631
|
+
elif existing._type == 'CNAME' and record['type'] == 'CNAME':
|
|
632
|
+
if (
|
|
633
|
+
existing.name == record['host']
|
|
634
|
+
and existing._type == record['type']
|
|
635
|
+
and existing.value == record['record']+'.'
|
|
636
|
+
):
|
|
637
|
+
record_ids.append(record_id)
|
|
631
638
|
else:
|
|
632
639
|
if (record == 'Failed' or record == 'Missing domain-name'):
|
|
633
640
|
continue
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{octodns_cloudns-0.0.9 → octodns_cloudns-0.0.10}/octodns_cloudns.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|