certbot_dns_dnsimple.dns_dnsimple
¶
DNS Authenticator for DNSimple DNS.
-
class
certbot_dns_dnsimple.dns_dnsimple.
Authenticator
(*args, **kwargs)[source]¶ Bases:
certbot.plugins.dns_common.DNSAuthenticator
DNS Authenticator for DNSimple
This Authenticator uses the DNSimple v2 API to fulfill a dns-01 challenge.
-
classmethod
add_parser_arguments
(add)[source]¶ Add plugin arguments to the CLI argument parser.
NOTE: If some of your flags interact with others, you can use cli.report_config_interaction to register this to ensure values are correctly saved/overridable during renewal.
Parameters: add (callable) – Function that proxies calls to argparse.ArgumentParser.add_argument
prepending options with unique plugin name prefix.
-
_perform
(domain, validation_name, validation)[source]¶ Performs a dns-01 challenge by creating a DNS TXT record.
Parameters: - domain (str) – The domain being validated.
- validation_domain_name (str) – The validation record domain name.
- validation (str) – The validation record content.
Raises: errors.PluginError – If the challenge cannot be performed
-
_cleanup
(domain, validation_name, validation)[source]¶ Deletes the DNS TXT record which would have been created by
_perform_achall
.Fails gracefully if no such record exists.
Parameters: - domain (str) – The domain being validated.
- validation_domain_name (str) – The validation record domain name.
- validation (str) – The validation record content.
-
classmethod