|
|
|
@ -41,7 +41,7 @@ class DnsMadeEasyClientUnauthorized(DnsMadeEasyClientException): |
|
|
|
class DnsMadeEasyClientForbidden(DnsMadeEasyClientException): |
|
|
|
|
|
|
|
def __init__(self): |
|
|
|
super(DnsMadeEasyClientNotFound, self).__init__('Forbidden') |
|
|
|
super(DnsMadeEasyClientForbidden, self).__init__('Forbidden') |
|
|
|
|
|
|
|
|
|
|
|
class DnsMadeEasyClientNotFound(DnsMadeEasyClientException): |
|
|
|
@ -264,8 +264,10 @@ class DnsMadeEasyProvider(BaseProvider): |
|
|
|
source=self, lenient=lenient) |
|
|
|
zone.add_record(record) |
|
|
|
|
|
|
|
self.log.info('populate: found %s records', |
|
|
|
len(zone.records) - before) |
|
|
|
exists = zone.name in self._zone_records |
|
|
|
self.log.info('populate: found %s records, exists=%s', |
|
|
|
len(zone.records) - before, exists) |
|
|
|
return exists |
|
|
|
|
|
|
|
def _params_for_multiple(self, record): |
|
|
|
for value in record.values: |
|
|
|
|