certbot.plugins.dns_common_lexicon
¶
Common code for DNS Authenticator Plugins built on Lexicon.
-
class
certbot.plugins.dns_common_lexicon.
LexiconClient
[source]¶ Bases:
object
Encapsulates all communication with a DNS provider via Lexicon.
-
add_txt_record
(domain, record_name, record_content)[source]¶ Add a TXT record using the supplied information.
Parameters: Raises: errors.PluginError – if an error occurs communicating with the DNS Provider API
-
del_txt_record
(domain, record_name, record_content)[source]¶ Delete a TXT record using the supplied information.
Parameters: Raises: errors.PluginError – if an error occurs communicating with the DNS Provider API
-
_find_domain_id
(domain)[source]¶ Find the domain_id for a given domain.
Parameters: domain (str) – The domain for which to find the domain_id. Raises: errors.PluginError – if the domain_id cannot be found.
-