Graybyt3 Was Here
Linux cloud.locucionar.com 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64
Apache
91.191.211.241
/
lib
/
python2.7
/
site-packages
/
certbot
/
plugins
[ HOME ]
Exec
Submit
dns_common_lexicon.pyo
� ���_c @ s� d Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z y d d l m Z Wn e k r� d Z n Xe j e � Z d e f d � � YZ d � Z d S( s; Common code for DNS Authenticator Plugins built on Lexicon.i����N( t HTTPError( t RequestException( t Any( t Dict( t Union( t errors( t dns_common( t ConfigResolvert LexiconClientc B sD e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z RS( sI Encapsulates all communication with a DNS provider via Lexicon. c C s d | _ d S( N( t Nonet provider( t self( ( sF /usr/lib/python2.7/site-packages/certbot/plugins/dns_common_lexicon.pyt __init__ s c C sx | j | � y# | j j d d d | d | � WnA t k rs } t j d | d t �t j d j | � � � n Xd S( s� Add a TXT record using the supplied information. :param str domain: The domain to use to look up the managed zone. :param str record_name: The record name (typically beginning with '_acme-challenge.'). :param str record_content: The record content (typically the challenge validation). :raises errors.PluginError: if an error occurs communicating with the DNS Provider API t typet TXTt namet contents'