bugfix
This commit is contained in:
parent
4a6d45c8a0
commit
2c249941fc
|
@ -62,7 +62,7 @@ class Authenticator(dns_common.DNSAuthenticator):
|
||||||
def _get_dns_entry(self, domain, validation_name, validation):
|
def _get_dns_entry(self, domain, validation_name, validation):
|
||||||
# transip api expects the name record without the domain part at the end
|
# transip api expects the name record without the domain part at the end
|
||||||
if validation_name.endswith(domain):
|
if validation_name.endswith(domain):
|
||||||
validation_name = validation.name[:-len(domain)].strip('.')
|
validation_name = validation_name[:-len(domain)].strip('.')
|
||||||
return DnsEntry(validation_name, self.ttl, 'TXT', validation)
|
return DnsEntry(validation_name, self.ttl, 'TXT', validation)
|
||||||
|
|
||||||
def _get_transip_client(self):
|
def _get_transip_client(self):
|
||||||
|
|
Loading…
Reference in New Issue