Graybyt3 Was Here
Linux vps-4656817-x.dattaweb.com 5.14.0-570.33.2.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 14 07:37:35 EDT 2025 x86_64
Apache
200.58.107.103
/
lib
/
python3.9
/
site-packages
/
certbot
/
plugins
/
__pycache__
[ HOME ]
Exec
Submit
File Name : dns_common.cpython-39.opt-1.pyc
a }|�g8 � @ sT d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm Z dd lmZ ddlZdd l mZ ddlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ e�e�ZG dd� dej ej!ej"d�Z#G dd� d�Z$e%dd�dd�Z&e%dd�dd�Z'e%ee% d�dd �Z(dS )!z*Common code for DNS Authenticator Plugins.� N)�sleep)�Callable)�Iterable)�List)�Mapping)�Optional)�Type)� challenges)�achallenges)� configuration)�errors)� interfaces)� filesystem)�os)�ops)�util)�commonc s� e Zd ZdZejedd�� fdd�Zed2e d e dd�d d ��Zee j ed�dd �Zeeeej d�dd�Zdd�dd�Zed�dd�Zee j eej d�dd�Zee j dd�dd�Zejdd�dd��Zejeeedd�dd��Zejeeedd�d d!��Zeedd"�d#d$�Zd3eee e egdf dd%�d&d'�Z!d4eee e"eef e e d(gdf d(d)�d*d+�Z#e$eed,�d-d.��Z%e$d5ee e egdf ed/�d0d1��Z&� Z'S )6�DNSAuthenticatorz!Base class for DNS AuthenticatorsN)�config�name�returnc s t � �||� d| _d S )NF)�super�__init__�_attempt_cleanup)�selfr r �� __class__� �>/usr/lib/python3.9/site-packages/certbot/plugins/dns_common.pyr # s zDNSAuthenticator.__init__� ).N)�add�default_propagation_secondsr c C s |d|t dd� d S )N�propagation-secondszjThe number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record.)�default�type�help)�int)�clsr r! r r r �add_parser_arguments( s �z%DNSAuthenticator.add_parser_arguments)�failed_achallsr c C s( | � d�}dj| j||dkr dndd�S )z,See certbot.plugins.common.Plugin.auth_hint.r"