§
    þÊíj¹b  ã                   óT	  — d Z ddlmZmZmZmZmZ ddlZddlZddl	Z	ddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddlmZmZmZmZmZmZm Z m!Z!m"Z" erddl#Z#ej$        j%        Z&d„ Z'd;d„Z(	 d;dej)        j*        d	eej+        j,        e-f         d
edee.         dee/e.f         f
d„Z0	 	 	 	 	 	 	 	 d<dej)        j*        d
ee         dee.         de1de1deeej2        j3        ej4        j5        f                  dee-         de1de1defd„Z6	 	 	 	 	 	 	 	 	 	 d=dej+        j,        de7dee.         de/dee7         de/de1de1de1de1deej)        j*                 deej)        j8                 dej+        j,        fd„Z9	 	 	 	 	 	 	 	 	 	 d>dej+        j,        de7dee.         de/dee7         de/de1de1de1d eej)        j*                 d!eej)        j:                 deej)        j8                 deej+        j,        e1f         fd"„Z;	 d;dej)        j:        d	eej+        j,        e-f         dee.         dee/e.f         fd#„Z<d$„ Z=	 	 	 	 	 d?dej)        j:        dee.         de1deeej2        j3        ej4        j5        f                  dee-         de1deej+        j,        e.f         fd%„Z>	 	 	 	 	 	 	 	 d@dej+        j,        de7dee.         de/dee7         de/de1de1deej)        j:                 deej)        j8                 dej+        j,        fd&„Z?	 	 	 	 	 	 	 	 	 	 dAdej+        j,        de7dee.         de/dee7         de/de1de1deej)        j:                 deej)        j8                 d(eej@                 d)ee7         dej+        j,        fd*„ZA	 	 	 	 	 	 	 	 	 	 dBdej+        j,        de7dee.         de/dee7         de/de1de1d.ed/         d0e7d1e1d2ee1e7f         dej+        j,        fd3„ZBddddddejC        dfde7d4ejD        jE        d5eej+        j,                 de/dee.         d6ee.         dee7         de/d7edeej)        j8                 ddfd8„ZF	 	 	 	 	 	 	 	 	 dCdej+        j,        de7dee.         de/dee7         de/de1de1d9eejG        jH                 d2ee1e7f         deej)        j8                 dej+        j,        fd:„ZGdS )DzTalk to a DNS server.é    )ÚAnyÚDictÚOptionalÚTupleÚUnionN)ÚNullContext)	Ú_compute_timesÚ_matches_destinationÚBadResponseÚsslÚUDPModeÚ_have_httpxÚ_have_http2ÚNoDOHÚNoDOQc                 óŠ   — |s|r>|€8| t           j        k    rd}n%| t           j        k    rd}nt          d| › �¦  «        ‚||fS d S )Nz0.0.0.0z::zunknown address family )ÚsocketÚAF_INETÚAF_INET6ÚNotImplementedError)ÚafÚaddressÚports      ú0/usr/lib/python3/dist-packages/dns/asyncquery.pyÚ_source_tupler   ;   sf   € ð ð 
�$ð 
Øˆ?Ø•V”^Ò#Ð#Ø#��Ø•v”Ò&Ð&Ø��å)Ð*HÀBÐ*HÐ*HÑIÔIÐIØ˜ˆÐàˆtó    c                 óZ   — | r(|st          j         ¦   «         }t          | |z
  d¦  «        S d S )Nr   )ÚtimeÚmax)Ú
expirationÚnows     r   Ú_timeoutr"   K   s7   € Øð Øð 	Ý”)‘+”+ˆCÝ�: Ñ# QÑ'Ô'Ð'àˆtr   ÚsockÚwhatÚdestinationr    Úreturnc              ƒ   óð   K  — t          |t          j        j        ¦  «        r|                     ¦   «         }t          j        ¦   «         }|                      ||t          ||¦  «        ¦  «        ƒ d{V —†}||fS )a†  Send a DNS message to the specified UDP socket.

    *sock*, a ``dns.asyncbackend.DatagramSocket``.

    *what*, a ``bytes`` or ``dns.message.Message``, the message to send.

    *destination*, a destination tuple appropriate for the address family
    of the socket, specifying where to send the query.

    *expiration*, a ``float`` or ``None``, the absolute time at which
    a timeout exception should be raised.  If ``None``, no timeout will
    occur.  The expiration value is meaningless for the asyncio backend, as
    asyncio's transport sendto() never blocks.

    Returns an ``(int, float)`` tuple of bytes sent and the sent time.
    N)Ú
isinstanceÚdnsÚmessageÚMessageÚto_wirer   Úsendtor"   )r#   r$   r%   r    Ú	sent_timeÚns         r   Úsend_udpr0   T   sr   è è € õ. �$�œÔ+Ñ,Ô,ð Ø�|Š|‰~Œ~ˆÝ”	‘”€IØ�kŠk˜$ ­X°jÀ)Ñ-LÔ-LÑMÔMÐMÐMÐMÐMÐMÐM€AØˆyˆ>Ðr   Fr   Úignore_unexpectedÚone_rr_per_rrsetÚkeyringÚrequest_macÚignore_trailingÚraise_on_truncationc	              ƒ   ó  K  — d}		 |                       dt          |¦  «        ¦  «        ƒ d{V —†\  }	}
t          | j        |
||¦  «        rnŒEt	          j        ¦   «         }t
          j                             |	|||||¬¦  «        }|||
fS )aj  Read a DNS message from a UDP socket.

    *sock*, a ``dns.asyncbackend.DatagramSocket``.

    See :py:func:`dns.query.receive_udp()` for the documentation of the other
    parameters, and exceptions.

    Returns a ``(dns.message.Message, float, tuple)`` tuple of the received message, the
    received time, and the address where the message arrived from.
    r   é   éÿÿ  N)r3   r4   r2   r5   r6   )Úrecvfromr"   r
   Úfamilyr   r)   r*   Ú	from_wire)r#   r%   r    r1   r2   r3   r4   r5   r6   ÚwireÚfrom_addressÚreceived_timeÚrs                r   Úreceive_udprA   r   s¶   è è € ð, €DðØ%)§]¢]°5½(À:Ñ:NÔ:NÑ%OÔ%OÐOÐOÐOÐOÐOÐOÑˆˆ|ÝØŒK˜ {Ð4Eñ
ô 
ð 	ð ðõ ”I‘K”K€MÝŒ×ÒØØØØ)Ø'Ø/ð 	ñ 	ô 	€Að ˆ}˜lÐ+Ð+r   é5   ÚqÚwhereÚtimeoutr   ÚsourceÚsource_portÚbackendc              ƒ   óô  K  — |                       ¦   «         }t          |¦  «        \  }}t          j                             |¦  «        }t          ||f|¦  «        }|
rt          |
¦  «        }nu|st          j                             ¦   «         }t          |||¦  «        }| 
                    ¦   «         r||f}nd}|                     |t          j        d||¦  «        ƒ d{V —†}|4 ƒd{V —†}t          ||||¦  «        ƒ d{V —† t          |||||| j        | j        ||	¦	  «	        ƒ d{V —†\  }}}||z
  |_        |                      |¦  «        st(          ‚|cddd¦  «        ƒd{V —† S # 1 ƒd{V —†swxY w Y   dS )aF  Return the response obtained after sending a query via UDP.

    *sock*, a ``dns.asyncbackend.DatagramSocket``, or ``None``,
    the socket to use for the query.  If ``None``, the default, a
    socket is created.  Note that if a socket is provided, the
    *source*, *source_port*, and *backend* are ignored.

    *backend*, a ``dns.asyncbackend.Backend``, or ``None``.  If ``None``,
    the default, then dnspython will use the default backend.

    See :py:func:`dns.query.udp()` for the documentation of the other
    parameters, exceptions, and return type of this method.
    Nr   )r,   r	   r)   ÚinetÚaf_for_addressÚ_lltupler   ÚasyncbackendÚget_default_backendr   Údatagram_connection_requiredÚmake_socketr   Ú
SOCK_DGRAMr0   rA   r3   Úmacr   Úis_responser   )rC   rD   rE   r   rF   rG   r1   r2   r5   r6   r#   rH   r=   Ú
begin_timer    r   r%   ÚcmÚstupleÚdtupleÚsr@   r?   Ú_s                           r   ÚudprZ   ›   sM  è è € ð6 �9Š9‰;Œ;€DÝ-¨gÑ6Ô6Ñ€Z�Ý	Œ×	 Ò	  Ñ	'Ô	'€BÝ˜E 4˜=¨"Ñ-Ô-€KØð 
QÝ5@ÀÑ5FÔ5Fˆˆàð 	=ÝÔ&×:Ò:Ñ<Ô<ˆGÝ˜r 6¨;Ñ7Ô7ˆØ×/Ò/Ñ1Ô1ð 	Ø˜T�]ˆFˆFàˆFØ×&Ò& r­6Ô+<¸aÀÈÑPÔPÐPÐPÐPÐPÐPÐPˆØð ð ð ð ð ð ð �QÝ�q˜$ ¨ZÑ8Ô8Ð8Ð8Ð8Ð8Ð8Ð8Ð8Ý&1ØØØØØØŒIØŒEØØñ
'
ô 
'
ð 
!
ð 
!
ð 
!
ð 
!
ð 
!
ð 
!
ÑˆˆM˜1ð  Ñ+ˆŒØ�}Š}˜QÑÔð 	ÝÐØð!ð ð ð ñ ô ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð øøøð ð ð ð ð ð s   Ã)A+E'Å'
E1Å4E1Úudp_sockÚtcp_sockc              ƒ   óÈ   K  — 	 t          | ||||||||d|	|¦  «        ƒ d{V —†}|dfS # t          j        j        $ r% t	          | ||||||||
|¦
  «
        ƒ d{V —†}|dfcY S w xY w)aÃ  Return the response to the query, trying UDP first and falling back
    to TCP if UDP results in a truncated response.

    *udp_sock*, a ``dns.asyncbackend.DatagramSocket``, or ``None``,
    the socket to use for the UDP query.  If ``None``, the default, a
    socket is created.  Note that if a socket is provided the *source*,
    *source_port*, and *backend* are ignored for the UDP query.

    *tcp_sock*, a ``dns.asyncbackend.StreamSocket``, or ``None``, the
    socket to use for the TCP query.  If ``None``, the default, a
    socket is created.  Note that if a socket is provided *where*,
    *source*, *source_port*, and *backend*  are ignored for the TCP query.

    *backend*, a ``dns.asyncbackend.Backend``, or ``None``.  If ``None``,
    the default, then dnspython will use the default backend.

    See :py:func:`dns.query.udp_with_fallback()` for the documentation
    of the other parameters, exceptions, and return type of this
    method.
    TNF)rZ   r)   r*   Ú	TruncatedÚtcp)rC   rD   rE   r   rF   rG   r1   r2   r5   r[   r\   rH   Úresponses                r   Úudp_with_fallbackra   Ø   sè   è è € ðD ÝØØØØØØØØØØØØñ
ô 
ð 
ð 
ð 
ð 
ð 
ð 
ˆð ˜%Ð Ð øÝŒ;Ô ð  ð  ð  ÝØØØØØØØØØØñ
ô 
ð 
ð 
ð 
ð 
ð 
ð 
ˆð ˜$ÐÐÐÐð øøøs   „#( ¨6A!Á A!c              ƒ   ó\  K  — t          |t          j        j        ¦  «        r|                     ¦   «         }n|}t          |¦  «        }t          j        d|¦  «        |z   }t          j        ¦   «         }|  	                    |t          ||¦  «        ¦  «        ƒ d{V —† t          |¦  «        |fS )zîSend a DNS message to the specified TCP socket.

    *sock*, a ``dns.asyncbackend.StreamSocket``.

    See :py:func:`dns.query.send_tcp()` for the documentation of the other
    parameters, exceptions, and return type of this method.
    ú!HN)r(   r)   r*   r+   r,   ÚlenÚstructÚpackr   Úsendallr"   )r#   r$   r    r=   ÚlÚtcpmsgr.   s          r   Úsend_tcprj     s¢   è è € õ �$�œÔ+Ñ,Ô,ð Ø�|Š|‰~Œ~ˆˆàˆÝˆD‰	Œ	€Aõ Œ[˜˜qÑ!Ô! DÑ(€FÝ”	‘”€IØ
�,Š,�v�x¨
°IÑ>Ô>Ñ
?Ô
?Ð?Ð?Ð?Ð?Ð?Ð?Ð?Ý�‰KŒK˜Ð#Ð#r   c              ƒ   óÀ   K  — d}|dk    rS|                       |t          |¦  «        ¦  «        ƒ d{V —†}|dk    rt          ‚|t          |¦  «        z
  }||z   }|dk    °S|S )z|Read the specified number of bytes from stream.  Keep trying until we
    either get the desired amount, or we hit EOF.
    r   r   N)Úrecvr"   ÚEOFErrorrd   )r#   Úcountr    rX   r/   s        r   Ú_read_exactlyro   5  s{   è è € ð 	€AØ
�!Š)ˆ)Ø—)’)˜E¥8¨JÑ#7Ô#7Ñ8Ô8Ð8Ð8Ð8Ð8Ð8Ð8ˆØ�Š8ˆ8ÝˆNØ�˜A™œ‘ˆØ�‰Eˆð �!Š)ˆ)ð €Hr   c              ƒ   ó  K  — t          | d|¦  «        ƒ d{V —†}t          j        d|¦  «        \  }t          | ||¦  «        ƒ d{V —†}t          j        ¦   «         }	t          j                             |||||¬¦  «        }
|
|	fS )zçRead a DNS message from a TCP socket.

    *sock*, a ``dns.asyncbackend.StreamSocket``.

    See :py:func:`dns.query.receive_tcp()` for the documentation of the other
    parameters, exceptions, and return type of this method.
    é   Nrc   ©r3   r4   r2   r5   )ro   re   Úunpackr   r)   r*   r<   )r#   r    r2   r3   r4   r5   Úldatarh   r=   r?   r@   s              r   Úreceive_tcpru   C  s¤   è è € õ     a¨Ñ4Ô4Ð4Ð4Ð4Ð4Ð4Ð4€EÝŒ=˜˜uÑ%Ô%�D€QÝ˜t Q¨
Ñ3Ô3Ð3Ð3Ð3Ð3Ð3Ð3€DÝ”I‘K”K€MÝŒ×ÒØØØØ)Ø'ð 	ñ 	ô 	€Að ˆ}ÐÐr   c
           	   ƒ   óÎ  K  — |                       ¦   «         }
t          |¦  «        \  }}|r*|                     ¦   «         ƒ d{V —† t          |¦  «        }n~t          j                             |¦  «        }t          |||¦  «        }||f}|	st          j         	                    ¦   «         }	|	 
                    |t          j        d|||¦  «        ƒ d{V —†}|4 ƒd{V —†}t          ||
|¦  «        ƒ d{V —† t          |||| j        | j        |¦  «        ƒ d{V —†\  }}||z
  |_        |                      |¦  «        st&          ‚|cddd¦  «        ƒd{V —† S # 1 ƒd{V —†swxY w Y   dS )aO  Return the response obtained after sending a query via TCP.

    *sock*, a ``dns.asyncbacket.StreamSocket``, or ``None``, the
    socket to use for the query.  If ``None``, the default, a socket
    is created.  Note that if a socket is provided
    *where*, *port*, *source*, *source_port*, and *backend* are ignored.

    *backend*, a ``dns.asyncbackend.Backend``, or ``None``.  If ``None``,
    the default, then dnspython will use the default backend.

    See :py:func:`dns.query.tcp()` for the documentation of the other
    parameters, exceptions, and return type of this method.
    Nr   )r,   r	   Úgetpeernamer   r)   rJ   rK   r   rM   rN   rP   r   ÚSOCK_STREAMrj   ru   r3   rR   r   rS   r   )rC   rD   rE   r   rF   rG   r2   r5   r#   rH   r=   rT   r    rU   r   rV   rW   rX   r@   r?   s                       r   r_   r_   a  sJ  è è € ð4 �9Š9‰;Œ;€DÝ-¨gÑ6Ô6Ñ€Z�Øð 
ð ×ÒÑ Ô Ð Ð Ð Ð Ð Ð Ð Ý5@ÀÑ5FÔ5Fˆˆõ ŒX×$Ò$ UÑ+Ô+ˆÝ˜r 6¨;Ñ7Ô7ˆØ˜�ˆØð 	=ÝÔ&×:Ò:Ñ<Ô<ˆGØ×&Ò&Ø•Ô" A v¨v°wñ
ô 
ð 
ð 
ð 
ð 
ð 
ð 
ˆð ð ð ð ð ð ð ð �QÝ�q˜$ 
Ñ+Ô+Ð+Ð+Ð+Ð+Ð+Ð+Ð+Ý#.ØˆzÐ+¨Q¬Y¸¼¸ñ$
ô $
ð 
ð 
ð 
ð 
ð 
ð 
ÑˆˆMð  Ñ+ˆŒØ�}Š}˜QÑÔð 	ÝÐØðð ð ð ñ ô ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð øøøð ð ð ð ð ð s   ÃA&EÅ
EÅ!EéU  Ússl_contextÚserver_hostnamec              ƒ   ó´  K  — t          |¦  «        \  }}|rt          |¦  «        }n¹|
€3t          j        ¦   «         }
t          j        j        |
_        |€d|
_        nd}
d}t          j	         
                    |¦  «        }t          |||¦  «        }||f}|	st          j                             ¦   «         }	|	                     |t          j        d||||
|¦  «        ƒ d{V —†}|4 ƒd{V —†}t#          |¦  «        }t%          | |||||||||	¦
  «
        ƒ d{V —†}t'          j        ¦   «         }||z
  |_        |cddd¦  «        ƒd{V —† S # 1 ƒd{V —†swxY w Y   dS )a¦  Return the response obtained after sending a query via TLS.

    *sock*, an ``asyncbackend.StreamSocket``, or ``None``, the socket
    to use for the query.  If ``None``, the default, a socket is
    created.  Note that if a socket is provided, it must be a
    connected SSL stream socket, and *where*, *port*,
    *source*, *source_port*, *backend*, *ssl_context*, and *server_hostname*
    are ignored.

    *backend*, a ``dns.asyncbackend.Backend``, or ``None``.  If ``None``,
    the default, then dnspython will use the default backend.

    See :py:func:`dns.query.tls()` for the documentation of the other
    parameters, exceptions, and return type of this method.
    NFr   )r	   r   r   Úcreate_default_contextÚ
TLSVersionÚTLSv1_2Úminimum_versionÚcheck_hostnamer)   rJ   rK   r   rM   rN   rP   r   rx   r"   r_   r   )rC   rD   rE   r   rF   rG   r2   r5   r#   rH   rz   r{   rT   r    rU   r   rV   rW   rX   r`   Úend_times                        r   Útlsrƒ   ™  s;  è è € õ:  .¨gÑ6Ô6Ñ€Z�Øð 
Ý5@ÀÑ5FÔ5FˆˆàÐåÔ4Ñ6Ô6ˆKÝ*-¬.Ô*@ˆKÔ'ØÐ&Ø-2�Ô*øàˆKØ"ˆOÝŒX×$Ò$ UÑ+Ô+ˆÝ˜r 6¨;Ñ7Ô7ˆØ˜�ˆØð 	=ÝÔ&×:Ò:Ñ<Ô<ˆGØ×&Ò&ØÝÔØØØØØØñ	
ô 	
ð 	
ð 	
ð 	
ð 	
ð 	
ð 	
ˆð ð ð ð ð ð ð ð �QÝ˜:Ñ&Ô&ˆÝØØØØØØØØØØñ
ô 
ð 
ð 
ð 
ð 
ð 
ð 
ˆõ ”9‘;”;ˆØ  :Ñ-ˆŒØð!ð ð ð ñ ô ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð øøøð ð ð ð ð ð s   Ã(AEÅ
EÅEé»  ú
/dns-queryTÚclientzhttpx.AsyncClientÚpathÚpostÚverifyc           	   ƒ   ó,  K  — t           st          d¦  «        ‚|                      ¦   «         }	 t          j                             |¦  «        }n# t          $ r d}Y nw xY wd}ddi}|�P|t          j        k    rd 	                    |||	¦  «        }n*|t          j
        k    rd 	                    |||	¦  «        }n|}|�t          j        |d         ¬¦  «        }|rt          |¦  «        }nt          j        d	t          ||¬
¦  «        }|4 ƒd{V —†}|
rR|                     dt#          t%          |¦  «        ¦  «        dœ¦  «         |                     ||||¬¦  «        ƒ d{V —†}n\t)          j        |¦  «                             d¦  «        }|                     ¦   «         }|                     |||d|i¬¦  «        ƒ d{V —†}	 ddd¦  «        ƒd{V —† n# 1 ƒd{V —†swxY w Y   |j        dk     s|j        dk    r.t          d 	                    ||j        |j        ¦  «        ¦  «        ‚t          j                             |j        | j        | j        ||¬¦  «        }|j                              ¦   «         |_!        |  "                    |¦  «        stF          ‚|S )aÃ  Return the response obtained after sending a query via DNS-over-HTTPS.

    *client*, a ``httpx.AsyncClient``.  If provided, the client to use for
    the query.

    Unlike the other dnspython async functions, a backend cannot be provided
    in this function because httpx always auto-detects the async backend.

    See :py:func:`dns.query.https()` for the documentation of the other
    parameters, exceptions, and return type of this method.
    zhttpx is not available.NÚacceptzapplication/dns-messagezhttps://{}:{}{}zhttps://[{}]:{}{}r   )Úlocal_addressT)Úhttp1Úhttp2r‰   Ú	transport)zcontent-typezcontent-length)ÚheadersÚcontentrE   ó   =r)   )r�   rE   ÚparamséÈ   i+  z4{} responded with status code {}
Response body: {!r}rr   )$r   r   r,   r)   rJ   rK   Ú
ValueErrorr   r   Úformatr   ÚhttpxÚAsyncHTTPTransportr   ÚAsyncClientr   ÚupdateÚstrrd   rˆ   Úbase64Úurlsafe_b64encodeÚrstripÚdecodeÚgetÚstatus_coder‘   r*   r<   r3   r4   ÚelapsedÚtotal_secondsr   rS   r   )rC   rD   rE   r   rF   rG   r2   r5   r†   r‡   rˆ   r‰   r=   r   r�   r�   ÚurlrU   Ú
the_clientr`   Útwirer@   s                         r   Úhttpsr§   å  sˆ  è è € õ4 ð /ÝÐ-Ñ.Ô.Ð.à�9Š9‰;Œ;€DðÝŒX×$Ò$ UÑ+Ô+ˆˆøÝð ð ð Øˆˆˆðøøøà€IØÐ2Ð3€GØ	€~Ø•”ÒÐØ#×*Ò*¨5°$¸Ñ=Ô=ˆCˆCØ•6”?Ò"Ð"Ø%×,Ò,¨U°D¸$Ñ?Ô?ˆCøàˆØÐÝÔ,¸6À!¼9ÐEÑEÔEˆ	àð 
Ý5@ÀÑ5HÔ5HˆˆåÔØ�k°&ÀIð
ñ 
ô 
ˆð ð ð ð ð ð ð ð �Zð ð 	Ø�NŠNà$=Ý&)­#¨d©)¬)¡n¤nðð ñô ð ð (Ÿ_š_Ø˜W¨d¸Gð -ñ ô ð ð ð ð ð ð ˆHˆHõ Ô+¨DÑ1Ô1×8Ò8¸Ñ>Ô>ˆDØ—K’K‘M”MˆEØ'Ÿ^š^Ø˜W¨g¸uÀe¸nð ,ñ ô ð ð ð ð ð ð ˆHð ð!ð ð ñ ô ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð øøøð ð ð ð ð, Ô˜cÒ!Ð! XÔ%9¸CÒ%?Ð%?Ýð$ß$*¢FØ�xÔ+¨XÔ-=ñ%ô %ñ
ô 
ð 	
õ 	Œ×ÒØÔØ”	Ø”MØ)Ø'ð 	ñ 	ô 	€Að Ô×+Ò+Ñ-Ô-€A„FØ�=Š=˜ÑÔð ÝÐØ€Hs$   ®A ÁAÁAÄB1GÇ
GÇGÚtxn_managerÚqueryÚlifetimeÚudp_modec
              ƒ   ó¦  K  — |€#t           j                             |¦  «        \  }}
nt           j                             |¦  «        }
|j        d         j        }|t           j        j        k    }|                     ¦   «         }| 	                    ¦   «         }t           j
                             | ¦  «        }t          |||¦  «        }| |f}t          |¦  «        \  }}d}|�rðd}|r|t          j        k    rt           j        }d}nt           j        }d}|	st           j                             ¦   «         }	|	                     ||d||t-          |¦  «        ¦  «        ƒ d{V —†}|4 ƒd{V —† |r+|                     ||t-          |¦  «        ¦  «        ƒ d{V —† nAt1          j        dt5          |¦  «        ¦  «        |z   }|                     ||¦  «        ƒ d{V —† t           j                             |||
|¦  «        5 }d}d}|�sct          |¦  «        \  }}|�|�||k    r|}|rVt;          | |f|¦  «        }	 t-          |¦  «        }|                     d|¦  «        ƒ d{V —†\  }}t?          |||d¦  «        rnŒBnEtA          |d|¦  «        ƒ d{V —†} t1          j!        d| ¦  «        \  }!tA          ||!|¦  «        ƒ d{V —†}|t           j        j        k    }t           j"         #                    ||j$        |j%        d||| |¬¦  «        }"	 | &                    |"¦  «        }n@# t           j        j'        $ r) |sJ ‚|t          j(        k    r‚ d}d}t          j        }Y �ŒXw xY w|"j)        }|�¯c|s-|j$        r&|"j*        st           j+         ,                    d	¦  «        ‚ddd¦  «         n# 1 swxY w Y   ddd¦  «        ƒd{V —† n# 1 ƒd{V —†swxY w Y   |�°îdS dS )
am  Conduct an inbound transfer and apply it via a transaction from the
    txn_manager.

    *backend*, a ``dns.asyncbackend.Backend``, or ``None``.  If ``None``,
    the default, then dnspython will use the default backend.

    See :py:func:`dns.query.inbound_xfr()` for the documentation of
    the other parameters, exceptions, and return type of this method.
    Nr   TFrc   r9   rq   )r3   r4   ÚxfrÚoriginÚtsig_ctxÚmultir2   zmissing TSIG)-r)   r­   Ú
make_queryÚextract_serial_from_queryÚquestionÚrdtypeÚ	rdatatypeÚIXFRÚfrom_wire_originr,   rJ   rK   r   r	   r   ÚNEVERr   rQ   rx   rM   rN   rP   r"   r-   re   rf   rd   rg   ÚInboundrL   r:   r
   ro   rs   r*   r<   r3   rR   Úprocess_messageÚUseTCPÚONLYr¯   Úhad_tsigÚ	exceptionÚ	FormError)#rD   r¨   r©   r   rE   rª   rF   rG   r«   rH   Úserialr´   Úis_ixfrr®   r=   r   rV   rW   rY   r    ÚretryÚ	sock_typeÚis_udprX   ri   ÚinboundÚdoner¯   Úmexpirationr%   Úrwirer>   rt   rh   r@   s#                                      r   Úinbound_xfrrÉ   D  sr  è è € ð* €}Ýœ'×,Ò,¨[Ñ9Ô9‰ˆ��å”×2Ò2°5Ñ9Ô9ˆØŒ^˜AÔÔ%€FØ�œÔ*Ò*€GØ×)Ò)Ñ+Ô+€FØ�=Š=‰?Œ?€DÝ	Œ×	 Ò	  Ñ	'Ô	'€BÝ˜2˜v {Ñ3Ô3€FØ�Tˆ]€FÝ$ XÑ.Ô.�O€Qˆ
Ø€EØ
ñ @BØˆØð 	�x¥7¤=Ò0Ð0ÝÔ)ˆIØˆFˆFåÔ*ˆIØˆFØð 	=ÝÔ&×:Ò:Ñ<Ô<ˆGØ×%Ò%Ø�	˜1˜f f­h°zÑ.BÔ.Bñ
ô 
ð 
ð 
ð 
ð 
ð 
ð 
ˆð ð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	BØð 4Ø—h’h˜t V­X°jÑ-AÔ-AÑBÔBÐBÐBÐBÐBÐBÐBÐBÐBåœ T­3¨t©9¬9Ñ5Ô5¸Ñ<�Ø—i’i ¨
Ñ3Ô3Ð3Ð3Ð3Ð3Ð3Ð3Ð3Ý”—’ ¨f°f¸fÑEÔEð -BÈØ�Ø�Øñ (*Ý'5°gÑ'>Ô'>Ñ$�Q˜Ø"Ð*Ø"Ð.°;ÀÒ3KÐ3Kà&0˜Øð GÝ&.°°t¨}¸bÑ&AÔ&A˜ð&Ý&.¨{Ñ&;Ô&;˜GØ:;¿*º*ÀUÈGÑ:TÔ:TÐ4TÐ4TÐ4TÐ4TÐ4TÐ4TÑ1˜U LÝ3Ø " L°+¸tñ ô  ð &ð !&ð&ð !&å&3°A°q¸+Ñ&FÔ&FÐ FÐ FÐ FÐ FÐ FÐ F˜Ý%œ}¨T°5Ñ9Ô9™˜Ý&3°A°q¸+Ñ&FÔ&FÐ FÐ FÐ FÐ FÐ FÐ F˜Ø$­¬Ô(:Ò:�GÝœ×-Ò-ØØ %¤Ø$)¤IØ Ø%Ø!)Ø#)˜zØ)0ð .ñ 	ô 	�Að	!Ø&×6Ò6°qÑ9Ô9˜˜øÝœ7œ>ð !ð !ð !Ø%˜˜˜Ø#¥w¤|Ò3Ð3Ø!Ø#˜Ø $˜Ý#*¤=˜Ø ™ð!øøøð  !œz�HðQ ñ (*ðR ð B ¤ð B°q´zð BÝœ-×1Ò1°.ÑAÔAÐAð[-Bð -Bð -Bñ -Bô -Bð -Bð -Bð -Bð -Bð -Bð -Bøøøð -Bð -Bð -Bð -Bð3	Bð 3	Bð 3	Bñ 3	Bô 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bð 3	Bøøøð 3	Bð 3	Bð 3	Bð 3	Bð ñ @Bð @Bð @Bð @Bð @Bs\   Å'BN;Ç8D
NÌLÌNÌ9MÍNÍMÍ<NÎN;ÎN"	Î"N;Î%N"	Î&N;Î;
OÏOÚ
connectionc              ƒ   ó&  K  — t           j        j        st          d¦  «        ‚d| _        |                      ¦   «         }|r%t           j        j        }t           j        j        }|}n"t           j                             |
¦  «        \  }} |¦   «         4 ƒd{V —†} |||	¬¦  «        4 ƒd{V —†}|s|                     ||||¦  «        }t          j	        ¦   «         }| 
                    ¦   «         ƒ d{V —†}|4 ƒd{V —† |                     |d¦  «        ƒ d{V —† |                     |¦  «        ƒ d{V —†}ddd¦  «        ƒd{V —† n# 1 ƒd{V —†swxY w Y   t          j	        ¦   «         }ddd¦  «        ƒd{V —† n# 1 ƒd{V —†swxY w Y   t           j                             || j        | j        ||¬¦  «        }ddd¦  «        ƒd{V —† n# 1 ƒd{V —†swxY w Y   t#          ||z
  d¦  «        |_	        |                      |¦  «        st&          ‚|S )ai  Return the response obtained after sending an asynchronous query via
    DNS-over-QUIC.

    *backend*, a ``dns.asyncbackend.Backend``, or ``None``.  If ``None``,
    the default, then dnspython will use the default backend.

    See :py:func:`dns.query.quic()` for the documentation of the other
    parameters, exceptions, and return type of this method.
    zDNS-over-QUIC is not available.r   N)Úverify_modeTrr   g        )r)   ÚquicÚ	have_quicr   Úidr,   Únull_factoryÚfactories_for_backendÚconnectr   Úmake_streamÚsendÚreceiver*   r<   r3   r4   r   rS   r   )rC   rD   rE   r   rF   rG   r2   r5   rÊ   r‰   rH   r=   ÚcfactoryÚmfactoryÚthe_connectionÚcontextÚthe_managerÚstartÚstreamÚfinishr@   s                        r   rÍ   rÍ   ©  s±  è è € õ. Œ8Ôð 7ÝÐ5Ñ6Ô6Ð6à€A„DØ�9Š9‰;Œ;€Dàð GÝ”8Ô(ˆÝ”8Ô(ˆØ#ˆˆå"œx×=Ò=¸gÑFÔFÑˆ�8àˆx‰zŒzð 
ð 
ð 
ð 
ð 
ð 
ð 
˜WØ�8˜G°Ð8Ñ8Ô8ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!¸KØð WØ!,×!4Ò!4°U¸DÀ&È+Ñ!VÔ!V�Ý”I‘K”KˆEØ)×5Ò5Ñ7Ô7Ð7Ð7Ð7Ð7Ð7Ð7ˆFØð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5Ø—k’k $¨Ñ-Ô-Ð-Ð-Ð-Ð-Ð-Ð-Ð-Ø#Ÿ^š^¨GÑ4Ô4Ð4Ð4Ð4Ð4Ð4Ð4�ð5ð 5ð 5ñ 5ô 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5ð 5øøøð 5ð 5ð 5ð 5õ ”Y‘[”[ˆFð	!ð 	!ð 	!ñ 	!ô 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!øøøð 	!ð 	!ð 	!ð 	!õ ŒK×!Ò!ØØ”IØœØ-Ø+ð "ñ 
ô 
ˆð
ð 
ð 
ñ 
ô 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
øøøð 
ð 
ð 
ð 
õ" �˜%‘ Ñ%Ô%€A„FØ�=Š=˜ÑÔð ÝÐØ€Hs[   ÂGÂ+AE;Ã;8EÄ3E;Å
EÅE;ÅEÅE;Å)GÅ;
F	ÆGÆF	Æ	1GÇ
GÇG)N)NNFFNr   FF)
NrB   Nr   FFFFNN)
NrB   Nr   FFFNNN)NFNr   F)NrB   Nr   FFNN)
Nry   Nr   FFNNNN)
Nr„   Nr   FFNr…   TT)	Nry   Nr   FFNTN)IÚ__doc__Útypingr   r   r   r   r   rœ   Ú
contextlibr   re   r   Údns.asyncbackendr)   Údns.exceptionÚdns.inetÚdns.nameÚdns.messageÚdns.quicÚ	dns.rcodeÚdns.rdataclassÚdns.rdatatypeÚdns.transactionÚdns._asyncbackendr   Ú	dns.queryr	   r
   r   r   r   r   r   r   r   r—   rJ   Úlow_level_address_tuplerL   r   r"   rM   ÚDatagramSocketr*   r+   ÚbytesÚfloatÚintr0   ÚboolÚnameÚNameÚtsigÚKeyrA   r›   ÚBackendrZ   ÚStreamSocketra   rj   ro   ru   r_   Ú
SSLContextrƒ   r§   r¸   ÚtransactionÚTransactionManagerrÉ   rÍ   ÚAsyncQuicConnection© r   r   ú<module>rþ      s%
  ðð$ Ð à 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4Ð 4à €€€Ø Ð Ð Ð Ø €€€Ø €€€Ø €€€à Ð Ð Ð Ø Ð Ð Ð Ø €€€Ø €€€Ø Ð Ð Ð Ø €€€Ø Ð Ð Ð Ø Ð Ð Ð Ø Ð Ð Ð Ø Ð Ð Ð à )Ð )Ð )Ð )Ð )Ð )ð
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð ð Ø€L€L€Lð Œ8Ô+€ðð ð ð ð ð ð ð #'ð	ð Ø
Ô
Ô
)ðà
�”Ô# UÐ*Ô
+ðð ðð ˜”ð	ð
 ˆ3�ˆ:Ôðð ð ð ð@ "&Ø"&Ø#Ø"Ø;?Ø#&Ø!Ø %ð&,ð &,Ø
Ô
Ô
)ð&,à˜#”ð&,ð ˜”ð&,ð ð	&,ð
 ð&,ð �d˜3œ8œ=¨#¬(¬,Ð6Ô7Ô8ð&,ð ˜%”ð&,ð ð&,ð ð&,ð 	ð&,ð &,ð &,ð &,ðX  $ØØ ØØ#Ø"Ø!Ø %Ø6:Ø26ð:ð :Ø
„{Ôð:àð:ð �eŒ_ð:ð ð	:ð
 �SŒMð:ð ð:ð ð:ð ð:ð ð:ð ð:ð �3Ô#Ô2Ô
3ð:ð �cÔ&Ô.Ô/ð:ð 	„[Ôð:ð :ð :ð :ð@  $ØØ ØØ#Ø"Ø!Ø:>Ø8<Ø26ð? ð ? Ø
„{Ôð? àð? ð �eŒ_ð? ð ð	? ð
 �SŒMð? ð ð? ð ð? ð ð? ð ð? ð �sÔ'Ô6Ô7ð? ð �sÔ'Ô4Ô5ð? ð �cÔ&Ô.Ô/ð? ð ˆ3Œ;Ô Ð$Ô%ð? ð ? ð ? ð ? ðJ #'ð$ð $Ø
Ô
Ô
'ð$à
�”Ô# UÐ*Ô
+ð$ð ˜”ð$ð ˆ3�ˆ:Ôð	$ð $ð $ð $ð6ð ð ð  #'Ø"Ø;?Ø#&Ø!ðð Ø
Ô
Ô
'ðà˜”ðð ðð �d˜3œ8œ=¨#¬(¬,Ð6Ô7Ô8ð	ð
 ˜%”ðð ðð ˆ3Œ;Ô Ð%Ô&ðð ð ð ðB  $ØØ ØØ"Ø!Ø48Ø26ð5ð 5Ø
„{Ôð5àð5ð �eŒ_ð5ð ð	5ð
 �SŒMð5ð ð5ð ð5ð ð5ð �3Ô#Ô0Ô
1ð5ð �cÔ&Ô.Ô/ð5ð 	„[Ôð5ð 5ð 5ð 5ðv  $ØØ ØØ"Ø!Ø48Ø26Ø,0Ø%)ðIð IØ
„{ÔðIàðIð �eŒ_ðIð ð	Ið
 �SŒMðIð ðIð ðIð ðIð �3Ô#Ô0Ô
1ðIð �cÔ&Ô.Ô/ðIð ˜#œ.Ô)ðIð ˜c”]ðIð 	„[ÔðIð Ið Ið Ið^  $ØØ ØØ"Ø!Ø,0ØØØ#ð\ð \Ø
„{Ôð\àð\ð �eŒ_ð\ð ð	\ð
 �SŒMð\ð ð\ð ð\ð ð\ð Ð(Ô)ð\ð ð\ð ð\ð �$˜�)Ôð\ð 	„[Ôð\ð \ð \ð \ðD ,0ØØ#Ø $Ø ØØœØ26ðbBð bBØðbBà”Ô3ðbBð �C”KÔ'Ô(ðbBð ð	bBð
 �eŒ_ðbBð �uŒoðbBð �SŒMðbBð ðbBð ðbBð �cÔ&Ô.Ô/ðbBð 
ðbBð bBð bBð bBðP  $ØØ ØØ"Ø!Ø9=Ø#Ø26ð8ð 8Ø
„{Ôð8àð8ð �eŒ_ð8ð ð	8ð
 �SŒMð8ð ð8ð ð8ð ð8ð ˜œÔ5Ô6ð8ð �$˜�)Ôð8ð �cÔ&Ô.Ô/ð8ð 	„[Ôð8ð 8ð 8ð 8ð 8ð 8r   