%PDF- %PDF-
Direktori : /lib/python3/dist-packages/dns/__pycache__/ |
Current File : //lib/python3/dist-packages/dns/__pycache__/query.cpython-312.pyc |
� 5��e0� � ! �� � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlmZm Z mZmZmZ ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZd� Zd� Z ejB jE d� Z#e#rUddl$Z%ddl&Z&e%jN Z(e%jR jT jV Z, G d� de(� Z- G d � d e&j\ � Z/n G d� d � Z/e#Z0 ddl1Z1ej Z3 G d� dejh jj � Z6 G d� dejh jn � Z8 G d� dejh jj � Z9 G d� dejh jj � Z:ejv jx Z<d� Z=d� Z>d� Z? e@ed� r ej� aBnej� aBd� ZDd� ZEd� ZFd� ZG ded�ZHdfd �ZIdd!ddd"d"dd#ddddej� f d$ej� j� d%eMd&eeN d'eOd(eeM d)eOd*ePd+ePd,ee d-eMd.ePd/eeM d0eePeMf d1ed2 d3eeO d4ej� j� f d5�ZQd6� ZRd7� ZS dgd8ed9eej� j� eTf d:ed;eeN d4eeOeNf f d<�ZU dhd8ed:ee d;eeN d=ePd*ePd>ee ej� j� ej� j� f d?eeT d+ePd@ePdAePdBeej� j� d4efdC�ZZ did$ej� j� d%eMd&eeN d'eOd(eeM d)eOd=ePd*ePd+ePd@ePd8ee dAePd4ej� j� fdE�Z[ djd$ej� j� d%eMd&eeN d'eOd(eeM d)eOd=ePd*ePd+ePdFee dGee dAePd4eej� j� ePf fdH�Z\dI� Z]dJ� Z^ dgd8ed9eej� j� eTf d;eeN d4eeOeNf fdK�Z_ dkd8ed;eeN d*ePd>ee ej� j� ej� j� f d?eeT d+ePd4eej� j� eNf fdL�Z`dM� Za dld$ej� j� d%eMd&eeN d'eOd(eeM d)eOd*ePd+ePd8ee d4ej� j� fdN�ZbdO� ZcdPeeM d0eePeMf d4e1j� fdQ�Ze dmd$ej� j� d%eMd&eeN d'eOd(eeM d)eOd*ePd+ePd8ee1j� dRee1j� dPeeM d0eePeMf d4ej� j� fdS�Zg dnd$ej� j� d%eMd&eeN d'eOd(eeM d)eOd*ePd+ePdTeej� j� d0eePeMf dPeeM d4ej� j� fdU�Zhej� j� ej� j� ddDdddddddd"ej� j� f d%eMdVeej� j� eMf dWeej� j� eMf dXeej� j� eMf d&eeN d'eOd>ee ej� j� ej� j� f dYeeej� j� eMf dZePd[eeN d(eeM d)eOd\eOd]ePd^eej� j� eMf d4ef d_�Z; G d`� daej� � ZrddDdddderj� fd%eMdbej� j� dBeej� j� d'eOd&eeN d[eeN d(eeM d)eOdcerd4dfdd�Zvy# e2$ r G d� d � Z1Y ��kw xY w)ozTalk to a DNS server.� N)�Any�Dict�Optional�Tuple�Unionc �x � | �y | t j � z }|dk rt j j �|S )N� )�time�dns� exception�Timeout)� expiration�timeouts �+/usr/lib/python3/dist-packages/dns/query.py� _remainingr / s7 � �����4�9�9�;�&�G��#�~��m�m�#�#�#��N� c �J � |�y t t j � | z |� S �N)�minr )r r s r �_expiration_for_this_attemptr 8 s# � �����t�y�y�{�W�$�j�1�1r �dohc �2 � � e Zd Z� fd�Z dd�Z dd�Z� xZS )�_NetworkBackendc �Z �� t �| � � || _ || _ || _ || _ y r )�super�__init__�_local_port� _resolver�_bootstrap_address�_family)�self�resolver� local_port�bootstrap_address�family� __class__s �r r z_NetworkBackend.__init__G s, �� ��G���)�D��%�D�N�&7�D�#�!�D�Lr c �l � g }t |� \ }}t j j |� r|j |� n�| j �|j | j � nft |� }| j } |rt j j |� } | j j || |�� } | j � }|D ]� }t j j |� }|�| j dk7 r-t j j || j f|� } nd } t |t j | � }t# d|� } t% |t j j ||f|� |� t'